Describe the bug
A call to sd.FBref results with "HTTPError: 403 Client Error: Forbidden".
Affected scrapers
This affects the following scrapers:
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/
Describe the bug
A call to sd.FBref results with "HTTPError: 403 Client Error: Forbidden".
Affected scrapers
This affects the following scrapers:
Code example
Error message