mirror of
https://github.com/probberechts/soccerdata.git
synced 2026-04-25 01:55:51 +03:00
[PR #923] feat: Allow customization of delay and rate limit #915
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#915
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/923
Author: @DownD
Created: 2/3/2026
Status: 🔄 Open
Base:
master← Head:master📝 Commits (1)
7ed7f57feat: Allow customization of delay and rate limit📊 Changes
11 files changed (+122 additions, -9 deletions)
View changed files
📝
soccerdata/_common.py(+16 -2)📝
soccerdata/clubelo.py(+14 -1)📝
soccerdata/espn.py(+8 -0)📝
soccerdata/fbref.py(+8 -1)📝
soccerdata/match_history.py(+13 -1)📝
soccerdata/sofascore.py(+8 -0)📝
soccerdata/sofifa.py(+8 -1)📝
soccerdata/understat.py(+8 -0)📝
soccerdata/whoscored.py(+8 -2)📝
tests/test_common.py(+30 -0)📝
uv.lock(+1 -1)📄 Description
Allows customization of the rate_limit and max_delay parameters for all the scrappers, which can be used to make scrappers faster (in the case of WhoScored) or slower to bypass some restrictions.
Unfortunately the tests for fbref and sofifa fails on my system even without this commit.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.