mirror of
https://github.com/probberechts/soccerdata.git
synced 2026-04-25 10:05:53 +03:00
[GH-ISSUE #740] [Common] Incorrect default seasons #161
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#161
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?
Originally created by @MimmoScogna on GitHub (Oct 30, 2024).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/740
Describe the bug
Despite the latest update, you can't get the data for the 2024/25 season, the loaded seasons in fact always stop at 2023/24
Affected scrapers
This affects the following scrapers:
Test Code
@probberechts commented on GitHub (Oct 30, 2024):
Thanks. This is a bug in the code that sets the default seasons.
github.com/probberechts/soccerdata@4cf2debc2d/soccerdata/_common.py (L474-L477)If you explicitly provide the seasons for which you want to retrieve data, it works.
@MimmoScogna commented on GitHub (Oct 30, 2024):
Thanks! It works good