-
Notifications
You must be signed in to change notification settings - Fork 174
Open
Labels
FBrefIssue or pull request related to the FBref scraperIssue or pull request related to the FBref scraperbugSomething isn't workingSomething isn't working
Description
Describe the bug
A call to sd.FBref results with "HTTPError: 403 Client Error: Forbidden".
Affected scrapers
This affects the following scrapers:
- FBref
Code example
import soccerdata as sd
fbref = sd.FBref(leagues='ENG-Premier League', seasons='24/25', no_cache=True)
print(fbref.read_schedule())
Error message
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://fbref.com/en/comps/
Metadata
Metadata
Assignees
Labels
FBrefIssue or pull request related to the FBref scraperIssue or pull request related to the FBref scraperbugSomething isn't workingSomething isn't working