I am trying to pull data from my NFL Fantasy football league using the following code
site = "http://fantasy.nfl.com/league/XXXXXXX"
req = requests.get(site)
soup = BeautifulSoup(req.text,"html5lib")
all_tables=soup.find_all('table')
all_tables
But this returns nothing. I looked into what the variable soup returns, and did control-f to search for player names or stats but had no luck. I have looked at other threads, read some documentation, and tried different parsers like "html.parser", "lxml", and "xml". But still can't figure it out.
Could it be that it is impossible to view this data through python?