python - issue with yahoo finance and beautifulsoup -


i trying grab 1 value yahoo finance, enterprise value/ebitda using beautifulsoup when access data based on page source appears not exist there, here code:

import requests bs4 import beautifulsoup page=requests.get("https://finance.yahoo.com/quote/aapl/key-statistics?p=aapl") soup=beautifulsoup(page.content, 'html.parser') table=soup.find_all(class_="fz(s) fw(500) ta(end)")  print(table) 

and here result 'nothing'.

[] 

why table empty? shouldnt yield html code contains value need? should use access value? thanks!


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -