mirror of
https://github.com/probberechts/soccerdata.git
synced 2026-04-25 10:05:53 +03:00
[PR #755] [MERGED] [ClubElo, FotMob, SoFIFA, FBREF] Fixing and unifying TEAMNAME_REPLACEMENTS loading #791
Labels
No labels
ESPN
FBref
FotMob
MatchHistory
SoFIFA
Sofascore
WhoScored
WhoScored
bug
build
common
dependencies
discussion
documentation
duplicate
enhancement
good first issue
invalid
performance
pull-request
question
question
removal
understat
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/soccerdata#791
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/probberechts/soccerdata/pull/755
Author: @MartiONE
Created: 11/18/2024
Status: ✅ Merged
Merged: 11/25/2024
Merged by: @probberechts
Base:
master← Head:master📝 Commits (10+)
229a64aPlugin export needs to be added now to poetryb6f40bcFixing ClubElo TEAMNAME_REPLACEMENTS4731448Fixing FotMob TEAMNAME_REPLACEMENTS4d0ee7dFixing SoFIFA TEAMNAME_REPLACEMENTS4a63a88Fixing FBREF TEAMNAME_REPLACEMENTS & adjusting ClubElo logic to be in line with the other classesd7bb112Fixing teamname_replacements config file6800f43Adding alt name test to FBrefde32631Fixing FotMob tests and re-enabling them96a56c2linter fixes3337438refactor📊 Changes
11 files changed (+133 additions, -36 deletions)
View changed files
📝
CONTRIBUTING.rst(+1 -0)📝
soccerdata/_common.py(+56 -1)📝
soccerdata/clubelo.py(+3 -7)📝
soccerdata/fbref.py(+8 -9)📝
soccerdata/fotmob.py(+4 -9)📝
soccerdata/sofifa.py(+2 -9)📝
tests/appdata/config/teamname_replacements.json(+4 -1)📝
tests/test_FBref.py(+13 -0)📝
tests/test_FotMob.py(+13 -0)📝
tests/test_SoFIFA.py(+10 -0)📝
tests/test_common.py(+19 -0)📄 Description
This fixes #703
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.