ohyicong / Google-Image-Scraper

A library to scrap google images
395 stars 150 forks source link

[macOS] chromedriver can't launch - "unable to download lastest chromedriver. the system will use the local version instead" #40

Closed nikolaydyankov closed 1 year ago

nikolaydyankov commented 1 year ago

Without modifying anything and running the python3 main.py from Terminal, I get this:

python3 main.py
[INFO] installing new chromedriver
[INFO] downloading chromedriver ver: 110.0.5481.77: https://chromedriver.storage.googleapis.com/110.0.5481.77/chromedriver_mac64.zip
[WARN] unable to download lastest chromedriver. the system will use the local version instead.
[INFO] installing new chromedriver
[INFO] downloading chromedriver ver: 110.0.5481.77: https://chromedriver.storage.googleapis.com/110.0.5481.77/chromedriver_mac64.zip
[WARN] unable to download lastest chromedriver. the system will use the local version instead.

I can see the Chrome icon bouncing in the dock, but then stopping, and it repeats again. Is this some permission issue? Also I can see it downloaded webdriver/chromedriver and webdriver/chromedriver_mac64.zip

Mic-N commented 1 year ago

confirmed here as well, endless loop trying to patch. Have tried on both win64 and linux (with chromium-chromedriver instralled)

ohyicong commented 1 year ago

Hi, I didn't test the code on linux/mac. So I can't verify that it is working for them.

ohyicong commented 1 year ago

Fixed on latest updated. Thanks for highlighting!

usama-axcelerate commented 1 year ago

It's still not working in linux (Ubuntu)