Open jharveysmith opened 5 years ago
This package looks for the string Latest Release
on the Chromedriver site to get the latest version (see this version of the page from January). The copy on the site changed, breaking this package.
Checking https://chromedriver.storage.googleapis.com/LATEST_RELEASE seems to be a better approach.
Unfortunately, the latest version is 73.0.3683.20 and the https://chromedriver.storage.googleapis.com/LATEST_RELEASE still returns 2.46
This can fix the installation till a proper fix is found. https://github.com/authomatic/chromedriver_installer/pull/10
Same error here
Change
CHROMEDRIVER_INFO_URL = (
'http://chromedriver.storage.googleapis.com/LATEST_RELEASE'
)
to this url in setup.py
and change get_chromedriver_version match variable to to this
def get_chromedriver_version():
"""Retrieves the most recent chromedriver version."""
global chromedriver_version
response = request.urlopen(CHROMEDRIVER_INFO_URL)
content = response.read()
match = content.decode("utf-8")
if match:
return match
else:
raise Exception('Unable to get latest chromedriver version from {0}'
.format(CHROMEDRIVER_INFO_URL))