mirror of
https://github.com/probberechts/soccerdata.git
synced 2026-04-25 10:05:53 +03:00
[PR #611] [MERGED] Support single-year season codes #694
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#694
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/611
Author: @probberechts
Created: 6/16/2024
Status: ✅ Merged
Merged: 6/16/2024
Merged by: @probberechts
Base:
master← Head:feat/single-year-seasons📝 Commits (1)
11573e6feat: support single-year season codes📊 Changes
8 files changed (+417 additions, -252 deletions)
View changed files
📝
soccerdata/_common.py(+183 -46)📝
soccerdata/_config.py(+11 -6)📝
soccerdata/fbref.py(+10 -4)📝
soccerdata/fotmob.py(+107 -104)📝
soccerdata/sofascore.py(+67 -67)📝
soccerdata/understat.py(+14 -5)📝
soccerdata/whoscored.py(+3 -8)📝
tests/test_common.py(+22 -12)📄 Description
This commit adds support for single-year season codes (e.g,. 2023) that are used in leagues such as the MLS, in contrast to the multi-year season codes (e.g., 2023/24) typically used in European football.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.