[GH-ISSUE #539] [WhoScored] HTTP Error 404: Not Found #99

Closed
opened 2026-03-02 15:55:46 +03:00 by kerem · 1 comment
Owner

Originally created by @thecourtchart on GitHub (Apr 8, 2024).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/539

A few months ago, I used the library to scrap WhoScore and everything ran smoothly. Then, after a long break, I decided to revisit and use the library again. Somehow, I got HTTPError: HTTP Error 404: Not Found after running the code:
ws = sd.WhoScored(leagues="ITA-Serie A", seasons=2021)

Does anyone have the same problem and how to fix it?

Originally created by @thecourtchart on GitHub (Apr 8, 2024). Original GitHub issue: https://github.com/probberechts/soccerdata/issues/539 A few months ago, I used the library to scrap WhoScore and everything ran smoothly. Then, after a long break, I decided to revisit and use the library again. Somehow, I got HTTPError: HTTP Error 404: Not Found after running the code: `ws = sd.WhoScored(leagues="ITA-Serie A", seasons=2021)` Does anyone have the same problem and how to fix it?
kerem 2026-03-02 15:55:46 +03:00
  • closed this issue
  • added the
    WhoScored
    label
Author
Owner

@probberechts commented on GitHub (Apr 12, 2024):

Everything seems to work fine for me. I am just guessing, but this might be related to #485.

Make sure to update both soccerdata and undetected-chromedriver to the latest version. If you encounter any problems, it might also help to disable caching such that any outdated files are overridden: ws = sd.WhoScored(leagues="ITA-Serie A", seasons=2021, no_cache=True).

If this does not fix it, it would be helpful if you could provide the URL for which the 404 error is raised (i.e., what is the full error)?

<!-- gh-comment-id:2051422793 --> @probberechts commented on GitHub (Apr 12, 2024): Everything seems to work fine for me. I am just guessing, but this might be related to #485. Make sure to update both soccerdata and undetected-chromedriver to the latest version. If you encounter any problems, it might also help to disable caching such that any outdated files are overridden: `ws = sd.WhoScored(leagues="ITA-Serie A", seasons=2021, no_cache=True)`. If this does not fix it, it would be helpful if you could provide the URL for which the 404 error is raised (i.e., what is the full error)?
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#99
No description provided.