Closed jackswales closed 6 months ago
This is a problem with undetected_chromedriver
, not with soccerdata. Do you have the latest version of undetected_chromedriver
?
Yeah, reinstalled to make sure but still getting same error message
So far I've deleted and reinstalled: Python, Anaconda, VSC, Chrome, soccerdata, and undetected_chromedriver & have completed all possible updates yet nothing seems to work. Any ideas what else I could do to fix this?
I've tested it myself now and everything still seems to work fine. The error that you report seems very similar to an issue that was present in the previous version of undetected-chromedriver (see #485) but is fixed in the current version. You can check which version is installed by running:
>>> import undetected_chromedriver as uc
>>> uc.__version__
'3.5.5'
If you have the latest version and you're still encountering the problem, I recommend seeking help in the issue tracker of the undetected-chromedriver repo.
I'm following the code from the notebook supplied on the soccerdata website to scrape WhoScored data. I set this up before and it worked fine, but after leaving it a few days its suddenly stopped working:
returns:
I'm not sure what's changed, or how to fix the issue. Any help greatly appreciated.