You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Chromedriver updates a lot, and it would be nice to manually download and update the latest version of chromedriver each time the scraper is run. I'll see if I can figure it out too.
The text was updated successfully, but these errors were encountered:
Added these lines to the scraper.py file- should downloaded latest version of chromedriver into working directory each time the scraper is run.
# Get latest chromedriver zip file for mac, extract into same foldertry:
version=requests.get('https://chromedriver.storage.googleapis.com/LATEST_RELEASE').texturl='https://chromedriver.storage.googleapis.com/{0}/{1}'.format(version, 'chromedriver_mac64.zip')
r=requests.get(url, allow_redirects=True)
open('chromedriver.zip', 'wb').write(r.content)
withzipfile.ZipFile("chromedriver.zip", "r") aszip_ref:
zip_ref.extractall()
except:
pass
Chromedriver updates a lot, and it would be nice to manually download and update the latest version of chromedriver each time the scraper is run. I'll see if I can figure it out too.
The text was updated successfully, but these errors were encountered: