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

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -