probberechts / soccerdata

⛏⚽ Scrape soccer data from Club Elo, ESPN, FBref, FiveThirtyEight, Football-Data.co.uk, FotMob, Sofascore, SoFIFA, Understat and WhoScored.
https://soccerdata.readthedocs.io/en/latest/
Other
526 stars 89 forks source link

[WhoScored] urllib.error.HTTPError: HTTP Error 404: Not Found #491

Closed jbarrocal-str closed 4 months ago

jbarrocal-str commented 4 months ago

Hello, I need help. I have updated undetected-chromedriver and google chrome.

When I execute this code I have the error

import soccerdata as sd import undetected_chromedriver as uc import json

ws = sd.WhoScored(leagues="ESP-La Liga", seasons=2022)

raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: Not Found

probberechts commented 4 months ago

I'll need more details. Which URL cannot be found? It would be helpful if you could provide the full stacktrace.

jbarrocal-str commented 4 months ago

Sorry, I have a error in upgrade undetected_chromedriver. Thank you!