mirror of
https://github.com/probberechts/soccerdata.git
synced 2026-04-25 10:05:53 +03:00
[GH-ISSUE #539] [WhoScored] HTTP Error 404: Not Found #99
Labels
No labels
ESPN
FBref
FotMob
MatchHistory
SoFIFA
Sofascore
WhoScored
WhoScored
bug
build
common
dependencies
discussion
documentation
duplicate
enhancement
good first issue
invalid
performance
pull-request
question
question
removal
understat
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/soccerdata#99
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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?
@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)?