[GH-ISSUE #659] [FBref] 403 Error #130

Closed
opened 2026-03-02 15:56:03 +03:00 by kerem · 2 comments
Owner

Originally created by @babu-akhil on GitHub (Aug 3, 2024).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/659

I know this issue was closed before but I'm facing the same issue again. Running latest version 1.8.1, Error message posted below:

Error while scraping https://fbref.com/en/comps/. Retrying... (attempt 1 of 5).                                                                              
Traceback (most recent call last):                                                    
 File                                                                                
"/home/coderman400/Workspaces/env/lib/python3.9/site-packages/soccerdata/_common.py", line 525, in _download_and_save                           
   response.raise_for_status()                                                       
 File                                                                                
"/home/coderman400/Workspaces/env/lib/python3.9/site-packages/requests/               
models.py", line 1024, in raise_for_status                                            
   raise HTTPError(http_error_msg, response=self)                                    
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url:                   
https://fbref.com/en/comps/

This is my first time using the library and I didnt get any successful responses from fbref, so its not a rate limiting issue. Other sources are working fine. Would appreciate if someone can check if its just me or is it reproducible?

Originally created by @babu-akhil on GitHub (Aug 3, 2024). Original GitHub issue: https://github.com/probberechts/soccerdata/issues/659 I know this issue was closed before but I'm facing the same issue again. Running latest version 1.8.1, Error message posted below: ``` Error while scraping https://fbref.com/en/comps/. Retrying... (attempt 1 of 5). Traceback (most recent call last): File "/home/coderman400/Workspaces/env/lib/python3.9/site-packages/soccerdata/_common.py", line 525, in _download_and_save response.raise_for_status() File "/home/coderman400/Workspaces/env/lib/python3.9/site-packages/requests/ models.py", line 1024, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://fbref.com/en/comps/ ``` This is my first time using the library and I didnt get any successful responses from fbref, so its not a rate limiting issue. Other sources are working fine. Would appreciate if someone can check if its just me or is it reproducible?
kerem 2026-03-02 15:56:03 +03:00
  • closed this issue
  • added the
    FBref
    label
Author
Owner

@probberechts commented on GitHub (Aug 4, 2024):

I don;t experience any issues.

<!-- gh-comment-id:2267490529 --> @probberechts commented on GitHub (Aug 4, 2024): I don;t experience any issues.
Author
Owner

@babu-akhil commented on GitHub (Aug 4, 2024):

Working for me now when I use a VPN.

<!-- gh-comment-id:2267508443 --> @babu-akhil commented on GitHub (Aug 4, 2024): Working for me now when I use a VPN.
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#130
No description provided.