mirror of
https://github.com/probberechts/soccerdata.git
synced 2026-04-26 10:35:53 +03:00
[PR #913] [MERGED] [FBref] Add "sec-ch-ua" header #907
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#907
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/913
Author: @probberechts
Created: 1/6/2026
Status: ✅ Merged
Merged: 1/6/2026
Merged by: @probberechts
Base:
master← Head:fix/fbref-403📝 Commits (1)
6183c2ffix(fbref): add "sec-ch-ua" header📊 Changes
2 files changed (+8 additions, -3 deletions)
View changed files
📝
soccerdata/_common.py(+4 -3)📝
soccerdata/fbref.py(+4 -0)📄 Description
FBref now checks for the Sec-CH-UA request header. If this header is not present, it returns a "403 Forbidden" error.
Fixes #879
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.