[PR #538] [MERGED] [FBref] Add force_cache param to read_team_match_stats #639

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

📋 Pull Request Information

Original PR: https://github.com/probberechts/soccerdata/pull/538
Author: @Kalaweksh
Created: 4/6/2024
Status: Merged
Merged: 4/12/2024
Merged by: @probberechts

Base: masterHead: patch-1


📝 Commits (1)

  • 62b7d8a [FBref] Add force_cache param to read_team_match_stats

📊 Changes

1 file changed (+9 additions, -4 deletions)

View changed files

📝 soccerdata/fbref.py (+9 -4)

📄 Description

  • Reduce unnecessary scraping by attempting to read previous seasons from cache. Like #97 , this can be problematic at season start (in this case if a previous season hasn't been fully cached).

  • Keep consistency with other FBref methods.


🔄 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/538 **Author:** [@Kalaweksh](https://github.com/Kalaweksh) **Created:** 4/6/2024 **Status:** ✅ Merged **Merged:** 4/12/2024 **Merged by:** [@probberechts](https://github.com/probberechts) **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`62b7d8a`](https://github.com/probberechts/soccerdata/commit/62b7d8ab4bd5131da711e7ae7e8622b5c40fc720) [FBref] Add force_cache param to read_team_match_stats ### 📊 Changes **1 file changed** (+9 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `soccerdata/fbref.py` (+9 -4) </details> ### 📄 Description - Reduce unnecessary scraping by attempting to read previous seasons from cache. Like #97 , this can be problematic at season start (in this case if a previous season hasn't been fully cached). - Keep consistency with other FBref methods. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 15:58:53 +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#639
No description provided.