QianyanTech / Image-Downloader

Download images from Google, Bing, Baidu. 谷歌、百度、必应图片下载.
MIT License
2.19k stars 572 forks source link

使用谷歌搜索一直报错,是否需要升级什么版本?Can not find chromedriver for currently installed chrome version #64

Open Testlyy opened 8 months ago

Testlyy commented 8 months ago

Can not find chromedriver for currently installed chrome version

chuangzhidan commented 8 months ago

[17:28:22] driver = webdriver.Chrome(chrome_path, chrome_options=chrome_options) [17:28:22] TypeError [17:28:22] : [17:28:22] init() got an unexpected keyword argument 'chrome_options' [17:28:22] stopped

gennaromellone commented 7 months ago

I resolved this issue by downloading chromedriver and adding it to PATH.

Then I commented utils.py lin 72-79


def resolve_dependencies(driver=str):
    if "chrome" in driver:
        print("Checking Google Chrome and chromedriver ...")
        #driver_path = chromedriver_autoinstaller.install()
        #if not driver_path:
        #    return False
        print("OK.")
    return True
rubikJ commented 6 months ago

same issue, gennaromellone's tip didn't work for me.

MuLoo commented 5 months ago

chromedriver

Works for me !!! For anyone who cant find histroy version of Chrome or Chromedriver, here is the link: https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html