testtester
Posts: 1
Joined: Tue Sep 12, 2017 12:35 pm

NFL 2017 Season fixtures not updated

Tue Sep 12, 2017 12:49 pm

Hi, first time user.

I can see that the primera league is updated with all the known coming fixtures for 2017/18. For the NFL the only one fixture is shown for the 2017: Kansas City Chiefs - New England Patriots (http://www.thesportsdb.com/season.php?s ... =4391&r=01)

If i understand the data structure correct the following should should provide a full list of 2017 fixtures (http://www.thesportsdb.com/season.php?l=4391&s=2017)

If I can update the league for my teams i'm okay with that, however I can see that there is an "Automatic Importer" for american football, so I don't wan't to screw up the db by making duplicates.

What is the best cause of action here? :)

User avatar
zag
Site Admin
Posts: 177
Joined: Tue Oct 11, 2016 9:43 am

Re: NFL 2017 Season fixtures not updated

Wed Sep 13, 2017 9:51 am

Ahh had the season started yet?

I will take a look, last time I checked it was during the season break.

EDIT: Does anyone know of any NFL team name changes for the new season?

User avatar
zag
Site Admin
Posts: 177
Joined: Tue Oct 11, 2016 9:43 am

Re: NFL 2017 Season fixtures not updated

Wed Sep 13, 2017 11:01 am

i tried updating our NFL python script but it failed unfortunately.

Maybe hjone72 knows how to fix as he wrote it originally?

therealtidus
Posts: 3
Joined: Thu Sep 14, 2017 7:45 pm

NFL Not auto?

Thu Sep 14, 2017 7:47 pm

So the NFL-page says it should update by itself. But it hasen't for the whole first week. Anyone knows why?

User avatar
zag
Site Admin
Posts: 177
Joined: Tue Oct 11, 2016 9:43 am

Re: NFL Not auto?

Fri Sep 15, 2017 8:25 am

Yep it broken for the new season. I just need the original developer to look at the python script we use, as its a bit beyond me.

viewtopic.php?f=4&t=4045

The module still seems to be working so it should be an easy fix.

Just need to work out why changing the year to 2017 in the code doesn't work :mrgreen:

Can you help out and check all the teams are current in the database? Any name changes?

therealtidus
Posts: 3
Joined: Thu Sep 14, 2017 7:45 pm

Re: NFL Not auto?

Fri Sep 15, 2017 3:25 pm

The San Diego Chargers have changed city to Los Angeles, other than that, everything seems fine :D

User avatar
zag
Site Admin
Posts: 177
Joined: Tue Oct 11, 2016 9:43 am

Re: NFL Not auto?

Sat Sep 16, 2017 10:55 am

Thanks! I've changed the name now.

Any idea what their short code might be? At the moment its "SD".

User avatar
zag
Site Admin
Posts: 177
Joined: Tue Oct 11, 2016 9:43 am

Re: NFL Not auto?

Sat Sep 16, 2017 11:19 am

Worked it out. For my own info later:

Code: Select all

teams = [
    ['ARI', 'Arizona', 'Cardinals', 'Arizona Cardinals'],
    ['ATL', 'Atlanta', 'Falcons', 'Atlanta Falcons'],
    ['BAL', 'Baltimore', 'Ravens', 'Baltimore Ravens'],
    ['BUF', 'Buffalo', 'Bills', 'Buffalo Bills'],
    ['CAR', 'Carolina', 'Panthers', 'Carolina Panthers'],
    ['CHI', 'Chicago', 'Bears', 'Chicago Bears'],
    ['CIN', 'Cincinnati', 'Bengals', 'Cincinnati Bengals'],
    ['CLE', 'Cleveland', 'Browns', 'Cleveland Browns'],
    ['DAL', 'Dallas', 'Cowboys', 'Dallas Cowboys'],
    ['DEN', 'Denver', 'Broncos', 'Denver Broncos'],
    ['DET', 'Detroit', 'Lions', 'Detroit Lions'],
    ['GB', 'Green Bay', 'Packers', 'Green Bay Packers', 'G.B.', 'GNB'],
    ['HOU', 'Houston', 'Texans', 'Houston Texans'],
    ['IND', 'Indianapolis', 'Colts', 'Indianapolis Colts'],
    ['JAC', 'Jacksonville', 'Jaguars', 'Jacksonville Jaguars', 'JAX'],
    ['KC', 'Kansas City', 'Chiefs', 'Kansas City Chiefs', 'K.C.', 'KAN'],
    ['LA', 'Los Angeles', 'Rams', 'Los Angeles Rams', 'L.A.'],
    ['MIA', 'Miami', 'Dolphins', 'Miami Dolphins'],
    ['MIN', 'Minnesota', 'Vikings', 'Minnesota Vikings'],
    ['NE', 'New England', 'Patriots', 'New England Patriots', 'N.E.', 'NWE'],
    ['NO', 'New Orleans', 'Saints', 'New Orleans Saints', 'N.O.', 'NOR'],
    ['NYG', 'Giants', 'New York Giants', 'N.Y.G.'],
    ['NYJ', 'Jets', 'New York Jets', 'N.Y.J.'],
    ['OAK', 'Oakland', 'Raiders', 'Oakland Raiders'],
    ['PHI', 'Philadelphia', 'Eagles', 'Philadelphia Eagles'],
    ['PIT', 'Pittsburgh', 'Steelers', 'Pittsburgh Steelers'],
    ['SD', 'San Diego', 'Chargers', 'San Diego Chargers', 'S.D.', 'SDG'],
    ['SEA', 'Seattle', 'Seahawks', 'Seattle Seahawks'],
    ['SF', 'San Francisco', '49ers', 'San Francisco 49ers', 'S.F.', 'SFO'],
    ['STL', 'St. Louis', 'Rams', 'St. Louis Rams', 'S.T.L.'],
    ['TB', 'Tampa Bay', 'Buccaneers', 'Tampa Bay Buccaneers', 'T.B.', 'TAM'],
    ['TEN', 'Tennessee', 'Titans', 'Tennessee Titans'],
    ['WAS', 'Washington', 'Redskins', 'Washington Redskins', 'WSH'],
]

User avatar
zag
Site Admin
Posts: 177
Joined: Tue Oct 11, 2016 9:43 am

Re: NFL Not auto?

Sat Sep 16, 2017 11:40 am

After much investigation it seems the opensource project 'nflgame' is not working for 2017 yet:

https://github.com/BurntSushi/nflgame/issues/331

Our importer is based on this, so we just have to wait for them to fix it.

therealtidus
Posts: 3
Joined: Thu Sep 14, 2017 7:45 pm

Re: NFL Not auto?

Sat Sep 16, 2017 8:37 pm

Okey, thanks for looking into it :D

Return to “General Discussion”