mirror of
https://github.com/probberechts/soccerdata.git
synced 2026-04-26 02:25:51 +03:00
[GH-ISSUE #861] [WhoScored] Chrome v140 / ChromeDriver v138 mismatch & 502 errors with undetected_chromedriver #183
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#183
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 @ds-oliver on GitHub (Jul 21, 2025).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/861
Describe the bug
undetected_chromedrivercannot create a Selenium session for WhoScored because the auto-downloaded ChromeDriver does not match the locally installed Chrome (browser v140, driver v138).When the driver manages to start (after pinning UC 3.5.4), WhoScored often returns a 502 Bad Gateway or empty JSON, causing
"NoneType" object is not iterable"inread_schedule().Expected behavior
ws.read_schedule()(and other calls) should launch a compatible Chrome + driver pair, fetch the HTML/JSON, and return a populated DataFrame without manual driver hacks.Affected scrapers
WhoScored
Code example
Error message
OR (when driver starts):
Occasionally:
Additional context
What we already tried (none fully successful)
Environment (high-level):
Contributor Action Plan
I’m not able to fix this issue.
Happy to provide full
</html>pip freeze, stack traces, or test URLs if that helps debug further.@probberechts commented on GitHub (Aug 23, 2025):
Closing since we are no longer using undetected chromedriver.