Skip to content
This repository has been archived by the owner on Jan 16, 2020. It is now read-only.

Commit

Permalink
bwin add GER to table
Browse files Browse the repository at this point in the history
  • Loading branch information
S1M0N38 committed Aug 2, 2019
1 parent 6ebbc60 commit ae444f1
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 1 deletion.
51 changes: 51 additions & 0 deletions aao/spiders/tables/bwin.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,57 @@
}
}
}
},
"germany": {
"name": "germany",
"leagues": {
"bundesliga_1": {
"name": "43",
"teams": {
"FC Bayern Munich": "Bayern Munchen",
"Hertha BSC": "Hertha Berlin",
"Bayer Leverkusen": "Bayer Leverkusen",
"SC Paderborn 07": "Paderborn 07",
"Borussia Dortmund": "Borussia Dortmund",
"FC Augsburg": "Augsburg",
"SC Freiburg": "Freiburg",
"FSV Mainz 05": "Mainz",
"VfL Wolfsburg": "Wolfsburg",
"1. FC Köln": "Koln",
"Werder Bremen": "Werder Bremen",
"Fortuna Dusseldorf": "Fortuna Dusseldorf",
"Borussia Mönchengladbach": "Borussia Monchengladbach",
"FC Schalke 04": "Schalke 04",
"Eintracht Frankfurt": "Eintracht Frankfurt",
"1899 Hoffenheim": "Hoffenheim",
"1. FC Union Berlin": "Union Berlin",
"RasenBallsport Leipzig": "Leipzig"
}
},
"bundesliga_2": {
"name": "79",
"teams": {
"SV Sandhausen": "Sandhausen",
"VfL Osnabrück": "Osnabruck",
"VfL Bochum": "Bochum",
"Arminia Bielefeld": "Arminia Bielefeld",
"FC St. Pauli": "St. Pauli",
"SpVgg Greuther Fürth": "Greuther Furth",
"Karlsruher SC": "Karlsruher",
"Dynamo Dresden": "Dynamo Dresden",
"Hannover 96": "Hannover 96",
"SSV Jahn Regensburg": "Jahn Regensburg",
"1. FC Heidenheim": "Heidenheim",
"VfB Stuttgart": "Stuttgart",
"SV Darmstadt 98": "Darmstadt 98",
"Holstein Kiel": "Holstein Kiel",
"FC Erzgebirge Aue": "Erzgebirge Aue",
"SV Wehen Wiesbaden": "Wehen Wiesbaden",
"1. FC Nürnberg": "Nurnberg",
"Hamburger SV": "Hamburg"
}
}
}
}
}
}
4 changes: 3 additions & 1 deletion aao/test/spiders/bookmakers/test_bwin.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
['spain', 'spain', 'la_liga', '16108', 'La Liga Odds'],
['france', 'france', 'ligue_1', '4131', 'Ligue 1 Betting'],
['france', 'france', 'ligue_2', '4132', 'Ligue 2 Betting'],
['germany', 'germany', 'bundesliga_1', '43', 'German Bundesliga Betting Odds'],
['germany', 'germany', 'bundesliga_2', '79', '2. Bundesliga Betting Odds'],
]


Expand All @@ -24,7 +26,7 @@ def test_soccer(self):

class TestSoccer():

competition = COMPETITIONS[5]
competition = COMPETITIONS[7]

@pytest.fixture(scope='module')
def spider(self):
Expand Down

0 comments on commit ae444f1

Please sign in to comment.