title: Scraping a webpage that has JavaScript with BeautifulSoup
body: <p>guys! I am applying to you once again. I am ok with scraping simple websites with tags but recently I've encountered a quite complex website which has JavaScript. As a result I would like to obtain all the estimates at the bottom of the page in a format of table (csv). Like 'User', 'Revenue estimate', 'EPS estimate'. </p>
  
  <p>I hoped to figure it by myself but kinda failed.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>from urllib import urlopen
  from bs4 import BeautifulSoup
  html = urlopen("https://www.estimize.com/jpm/fq3-2016?sort=rank&amp;direction=asc&amp;estimates_per_page=142&amp;show_confirm=false")
  soup = BeautifulSoup(html.read(), "html.parser")
  print(soup.findAll('script')[11].string.encode('utf8'))
  </code></pre>
  
  <p>The output has a strange format and I don't know how to extract the data in an adequate form.
   I'll appreciate any help!</p>