mirror of
https://github.com/probberechts/soccerdata.git
synced 2026-04-25 18:15:58 +03:00
[GH-ISSUE #328] [FBref] Scraper returns old season data #62
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#62
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 @mhd0528 on GitHub (Aug 16, 2023).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/328
Hi,
I was trying to use the following commands to get data for this season (2023-24), but it actually gives me data from 1923-1924.
I have also tried to remove the cache or disable the cache before calling read_schedule(), but it can't find the new data.
I think there might be some wrong with the season parsing/reading part.
Maybe just modify the following line/file would work:
github.com/probberechts/soccerdata@ec45682c8f/soccerdata/fbref.py (L118)Thanks in advance!
@probberechts commented on GitHub (Aug 21, 2023):
This is probably related to #97 and can be solved by invalidating the cache:
@mhd0528 commented on GitHub (Aug 25, 2023):
Hi,
Yes, that totally solves the issue! Thanks so much for helping!