title: Web Scraping Javascript Using Python
body: <p>I am used to using BeautifulSoup to scrape a website, however this website is different. Upon soup.prettify() I get back Javascript code, lots of  stuff. I want to scrape this website for the data on the actual website (company name, telephone number etc). Is there a way of scraping these scripts such as Main.js to retrieve the data that is displayed on the website to me?  </p>
  
  <p>Clear version:</p>
  
  <p>Code is: </p>
  
  <pre><code>&lt;script src="/docs/Main.js" type="text/javascript" language="javascript"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>This holds the text that is on the website. I would like to scrape this text however it is populated using JS not HTML (which I used to use BeautifulSoup for).</p>