can’t find table with beautiful soup

I'm writing a code that should find a table in a html page but it always return an empty list for no reason. i doubled checked, the table tag exists and it's not made by JS

r = requests.get('https://coinmarketcap.com/currencies/tron/historical-data/')
soup = BeautifulSoup(r.text , features ='html.parser' )
table = soup.find_all('table' , {'class' : 'cmc-table table___1p4Jy '})
print(table)


Read more here: https://stackoverflow.com/questions/67394428/cant-find-table-with-beautiful-soup

Content Attribution

This content was originally published by A H Sh at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: