Closed dcstats closed 1 year ago
Additionally, some games get this error logged because the page isn't loaded properly (when using a browser, the page that appears that causes the problem is one that says "Page not found. Go to the homepage.") Using longer duration of time.sleep() could help
Extra time.sleep() doesn't necessarily solve the issue of page not loading properly. Gotta do more digging
This should be mostly resolved with latest versions. Some games have inherent issues though and can't be scraped - those are ones that always say 'Page not found' when loading in browser (https://www.espn.com/mens-college-basketball/game/_/gameId/400508100 is an example of this).
Exception sometimes printed when scraping season games. Expected behavior is for exceptions to be caught and logged but not printed.
Code
s.get_games_season(2021)
Stacktrace