Nathanlauga / nba-data-scrapping

NBA games : data collection & model creation
49 stars 23 forks source link

Some requests timeout #7

Open gaberogan opened 1 year ago

gaberogan commented 1 year ago

Some requests to the NBA API such as in get_teams.py or get_game_stats.py are timing out due to a missing Origin header, causing the script to hang. The value should be:

Origin: https://www.nba.com
Nathanlauga commented 10 months ago

I'll fix that soon :)