derek-adair / nflgame

A working snapshot of nflgame (for historic purposes). This project is no longer active.
http://nflgame.derekadair.com
The Unlicense
332 stars 100 forks source link

NFL Rosters Fail to Update w/o Spoofed User-Agent #124

Closed keithdoggett closed 4 years ago

keithdoggett commented 4 years ago

In the update_players module, requests to http://www.nfl.com/teams/roster?team=* respond with 403 Forbidden, currently.

I modified the master branch and if the User-Agent is spoofed in the request I get a 200 OK response and everything works as expected. I'd be happy to submit a PR making this quick fix if you want to go this route.

derek-adair commented 4 years ago

Already had this in there, forgot to push it... releasing under 2.0.4