[PR #913] [MERGED] [FBref] Add "sec-ch-ua" header #907

Closed
opened 2026-03-02 16:00:07 +03:00 by kerem · 0 comments
Owner

📋 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: masterHead: fix/fbref-403


📝 Commits (1)

  • 6183c2f fix(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.

## 📋 Pull Request Information **Original PR:** https://github.com/probberechts/soccerdata/pull/913 **Author:** [@probberechts](https://github.com/probberechts) **Created:** 1/6/2026 **Status:** ✅ Merged **Merged:** 1/6/2026 **Merged by:** [@probberechts](https://github.com/probberechts) **Base:** `master` ← **Head:** `fix/fbref-403` --- ### 📝 Commits (1) - [`6183c2f`](https://github.com/probberechts/soccerdata/commit/6183c2f7b065b22778a960d89ff56e893a9980af) fix(fbref): add "sec-ch-ua" header ### 📊 Changes **2 files changed** (+8 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `soccerdata/_common.py` (+4 -3) 📝 `soccerdata/fbref.py` (+4 -0) </details> ### 📄 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 16:00:07 +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#907
No description provided.