title: python urllib2 - reading a page after table loaded
body: <p>I am trying to read a page with urllib2, in order to extract data from the page. After an update from the website, I think the table I am interested in is now generated per load, and when I am reading the url with urllib2 this table is empty in the html I am getting. </p>
  
  <p>My current code is : </p>
  
  <pre><code>url = 'http://www.cmegroup.com/trading/energy/natural-gas/lng-japan-korea-marker-platts-swap.html' 
  req = urllib2.Request(url, headers = hdr)
  html = urllib2.urlopen(req).read()
  soup = BeautifulSoup(html, "html.parser")
  table = soup.find_all(id="quotesFuturesProductTable1")[0]
  </code></pre>
  
  <p>My headers for additional info : </p>
  
  <pre><code>hdr = {'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11',
      'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
      'Accept-Charset': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',
      'Accept-Encoding': 'none',
      'Accept-Language': 'en-US,en;q=0.8',
      'Connection': 'keep-alive'}
  </code></pre>
  
  <p>I get the table but it is empty. I understand that I may have to call another script in the page but can not find out which one. </p>