[PR #128] [CLOSED] changed fbref read_seasons() logic to avoid duplicates #302

Closed
opened 2026-03-02 15:57:19 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/probberechts/soccerdata/pull/128
Author: @francescozonaro
Created: 12/24/2022
Status: Closed

Base: masterHead: duplicates_fbref


📝 Commits (1)

  • 232c50d changed 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.

## 📋 Pull Request Information **Original PR:** https://github.com/probberechts/soccerdata/pull/128 **Author:** [@francescozonaro](https://github.com/francescozonaro) **Created:** 12/24/2022 **Status:** ❌ Closed **Base:** `master` ← **Head:** `duplicates_fbref` --- ### 📝 Commits (1) - [`232c50d`](https://github.com/probberechts/soccerdata/commit/232c50d04ee259cbf50acd5af43f5ef68357240f) changed fbref read_seasons() logic ### 📊 Changes **1 file changed** (+10 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `soccerdata/fbref.py` (+10 -2) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 15:57:19 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/soccerdata#302
No description provided.