Open ToddAtWSU opened 6 years ago
The error in update_players.py is because it is trying to unpack 'Leno', 'Charles' and 'Jr.' into last_name, first_name. The script will have to be modified to handle this corner case.
To get the 2018 games, you have to modify the _CUR_SCHEDULE variable in live.py to point to the regular season URL, 'http://www.nfl.com/liveupdate/scorestrip/ss.xml' This is currently commented out and pointing to the postseason URL.
See the following issue on Derek's fork: https://github.com/derek-adair/nflgame/issues/13
@hoopghetto (Aug 24) suggested adding two lines of codes to update_players.py after line 175:
176 if name.count(',') == 2: 177 name = name.strip(', Jr.')
THIS CLEARED up the Leno Jr. "corner case" for me.
The issues with "Ced Wilson" is simply that NFL has not yet provided a GSIS id for him. (See @ochawkeye post in the same thread.
So I'm trying to get this running again for the new year and am struggling. I actually got a new computer and had to install Python and nflgame fresh. After installing it, I tried to run the nflgame-update-players and it spit out the following errors:
Did I do something wrong? Also, what do I need to do to get 2018 games to work? I tried this.