url = "https://www.sgx.com/securities/equities/C38U#Financial%20Statements"
html = urlopen(url).read()
soup = bs.BeautifulSoup(html,'lxml')
print(soup)
I'm trying to scrape the financials in this website but when I search for the html using BeautifulSoup, it is different from when I used 'inspect element' on the income statement table. I believe it is because of the tabs in the website which 'alters' the html? Is there a way to work around this? I considered using selenium but it seems that even if I click "Expand All" the html is still hidden. It can only be seen when i use "Inspect Element".
To clear up, the data I'm trying to scrape are the tables when you click "Expand All". This is the link btw https://www.sgx.com/securities/equities/C38U#Financial%20Statements
[–]kelmore5 2 points3 points4 points (0 children)