Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2018 #297

Closed
danielcroona opened this issue Apr 20, 2018 · 1 comment
Closed

2018 #297

danielcroona opened this issue Apr 20, 2018 · 1 comment

Comments

@danielcroona
Copy link

danielcroona commented Apr 20, 2018

Can someone please remind me about how to get nfldb to download the 2018 schedule? The data is apparently there:
https://www.nfl.com/ajax/scorestrip?season=2018&seasonType=REG&week=1

/usr/local/lib/python2.7/dist-packages/nflgame/update_sched.py --year 2018 and /usr/local/bin/nfldb-update --update-schedules just leaves me with the games from the 2017 season.

Thanks!

@danielcroona
Copy link
Author

I don't know if this is an actual error in the code but changing row 21 in update_sched.py did it for me.

Change:
for y in range(2009, cur_year+1):

To:
for y in range(2009, cur_year+2):

Then run:
python /usr/local/lib/python2.7/dist-packages/nflgame/update_sched.py --year 2018

followed by:
/usr/local/bin/nfldb-update --update-schedules

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant