mirror of
https://github.com/probberechts/soccerdata.git
synced 2026-04-25 10:05:53 +03:00
[GH-ISSUE #726] FBRef - Returning stats for 1923/24 season not 2023/24 season #154
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#154
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 @philbywalsh on GitHub (Oct 15, 2024).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/726
Describe the bug
I'm attempting to scrape FBRef for Premier League stats for the 2023/24 season. I've tried various values for 'season' and all seem to return stats for 1923/24 season not the 2023/24 season.
Affected scrapers
This affects the following scrapers:
Code example
Error message
Additional context
Oddly enough, the '2023-2024' parameter seemed to work fine during extensive testing yesterdat.
Contributor Action Plan
@philbywalsh commented on GitHub (Oct 16, 2024):
Bizarrely I re-ran this code this morning (same jupyter notebook, which remained open overnight) with seasons = ['2023-24'] and it now works as desired - i.e. brings back 2023/24 data not 1923/24 data.
Feels like this is an intermittent bug as, over the last 36 hours, the same code returned
2023/24
then 1923/24
when back to 2023/24