mirror of
https://github.com/probberechts/soccerdata.git
synced 2026-04-25 18:15:58 +03:00
[PR #128] [CLOSED] changed fbref read_seasons() logic to avoid duplicates #302
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#302
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/128
Author: @francescozonaro
Created: 12/24/2022
Status: ❌ Closed
Base:
master← Head:duplicates_fbref📝 Commits (1)
232c50dchanged fbref read_seasons() logic📊 Changes
1 file changed (+10 additions, -2 deletions)
View changed files
📝
soccerdata/fbref.py(+10 -2)📄 Description
The read_seasons() function now automatically keeps the most recent season if a conflict is detected. This should solve the crash/duplicate problem when scraping EPL.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.