QianyanTech / Image-Downloader

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

Selenium verision too old ,mismatch chromedriver , cannot use chrome to download pictures #67

Open fanatic-revolver opened 6 months ago

Patty-OFurniture commented 5 months ago

I have fixed this in my branch https://github.com/Patty-OFurniture/Image-Downloader/commit/8961ed38b2f8febd2656f4aacc61808bd0b692bd

And tungalbert99 has made further changes https://github.com/tungalbert99/Image-Downloader/commit/e05e903f02042a4b903b87cdf1e790b7abab9942

which I have also merged.

I have not bothered to make a release, but the README.md file does show how to run the python code directly. Green Code button, select "download zip", and that's everything you need.

BurrowBird commented 4 months ago

[20:37:41] Find 0 images. [20:37:43] == 0 out of 0 crawled images urls will be used.

Patty-OFurniture commented 4 months ago

[20:37:41] Find 0 images. [20:37:43] == 0 out of 0 crawled images urls will be used.

Hi, this is a different problem. Google has changed its search results. I think all projects using Google search are affected. Using chromedriver or other web driver, or just HTML results. Changes will be needed everywhere.

Edit: Many times if I just retry Google works again. I think it needs an initial request, and then another from the same IP to say "I'm not a robot". I have not had time to investigate yet. And there are 2 PRs open I have not had time to look at. Maybe they help.