[GH-ISSUE #322] [WhoScored] Error when scrape from WhoScored #63

Closed
opened 2026-03-02 15:55:26 +03:00 by kerem · 3 comments
Owner

Originally created by @arielLgonzalez on GitHub (Aug 2, 2023).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/322

Hi, When I run the code I get the following error, any solution?
Captura de pantalla 2023-08-02 115719

Originally created by @arielLgonzalez on GitHub (Aug 2, 2023). Original GitHub issue: https://github.com/probberechts/soccerdata/issues/322 Hi, When I run the code I get the following error, any solution? ![Captura de pantalla 2023-08-02 115719](https://github.com/probberechts/soccerdata/assets/102005610/1b951815-47c5-4019-9850-27cc1a2d74f7)
kerem closed this issue 2026-03-02 15:55:26 +03:00
Author
Owner

@probberechts commented on GitHub (Aug 2, 2023):

See https://github.com/search?q=repo%3Aultrafunkamsterdam%2Fundetected-chromedriver++only+supports+Chrome+version+*&type=issues

In short, try to delete ~/appdata/roaming/undetected_chromedriver

<!-- gh-comment-id:1662387536 --> @probberechts commented on GitHub (Aug 2, 2023): See https://github.com/search?q=repo%3Aultrafunkamsterdam%2Fundetected-chromedriver++only+supports+Chrome+version+*&type=issues In short, try to delete ` ~/appdata/roaming/undetected_chromedriver`
Author
Owner

@arielLgonzalez commented on GitHub (Aug 2, 2023):

Thanks!!!

<!-- gh-comment-id:1662485649 --> @arielLgonzalez commented on GitHub (Aug 2, 2023): Thanks!!!
Author
Owner

@ksbharaj commented on GitHub (Aug 17, 2023):

Hi. If anyone is struggling with getting scarping done on Chrome version 116, this is how I managed to get it working (it's a hack/workaround for now):

  1. Download the stable (binary) Version: 116.0.5845.96 (r1160321) of Chromedriver from the following link (https://googlechromelabs.github.io/chrome-for-testing/#stable).
  2. Edit the return statement of "_init_webdriver()" in "_common.py" to include a path to this chromedriver (line 415 for me):
    return uc.Chrome(options=chrome_options, driver_executable_path=r"C:\XXXXXXXXX\chromedriver.exe")
<!-- gh-comment-id:1682611763 --> @ksbharaj commented on GitHub (Aug 17, 2023): Hi. If anyone is struggling with getting scarping done on Chrome version 116, this is how I managed to get it working (it's a hack/workaround for now): 1) Download the stable (binary) Version: 116.0.5845.96 (r1160321) of Chromedriver from the following link (https://googlechromelabs.github.io/chrome-for-testing/#stable). 2) Edit the return statement of "_init_webdriver()" in "_common.py" to include a path to this chromedriver (line 415 for me): return uc.Chrome(options=chrome_options, driver_executable_path=r"C:\\XXXXXXXXX\\chromedriver.exe")
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#63
No description provided.