I am trying to clear data from the public website asx.com.au
The page http://www.asx.com.au/asx/research/company.do#!/ACB/details contains a div with the class 'view-content', which has the information I need:

But when I try to view this page through Python urllib2.urlopen , that div is empty:
import urllib2 from bs4 import BeautifulSoup url = 'http://www.asx.com.au/asx/research/company.do#!/ACB/details' page = urllib2.urlopen(url).read() soup = BeautifulSoup(page, "html.parser") contentDiv = soup.find("div", {"class": "view-content"}) print(contentDiv)
Is it possible to access the contents of this div programmatically?
Edit: according to the comment, it seems that the content is being rendered through Angular.js . Is it possible to initiate the rendering of this content through Python?
source share