Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not download more than 98 images with chromedriver #25

Closed
DP1701 opened this issue Sep 10, 2022 · 2 comments
Closed

Can not download more than 98 images with chromedriver #25

DP1701 opened this issue Sep 10, 2022 · 2 comments

Comments

@DP1701
Copy link

DP1701 commented Sep 10, 2022

Hi all, unfortunately I can't download more than 98 images with chromedriver. I get this error message:

Unfortunately all 350 could not be downloaded because some images were not downloadable. 98 is all we got for this search filter!

Errors: 2


Everything downloaded!

I have entered the following command:

googleimagesdownload --keywords "nature" --limit 350 --chromedriver "google-images-download/chromedriver"

I also tried with selenium 4.4.3. But unfortunately the same error appears. However, I had to make some adjustments with the newer selenium, because find_element_by_xpath, find_element_by_tag_name and find_element_by_css_selector are deprecated according to the doc.

Does anyone have an idea how I can download more than 97 images?

@NicolasGrosjean
Copy link

Hi,

Like @Joeclinton1 put in the code here, I think the ajax code done by @voins need to be updated.

For the moment, set the limit higher than 100 don't bring more images and make lose time.
So a way to get more images is to play with other parameters to do more queries and get more images.
For example you can use time_range, add more keywords with synonyms, ...

@ogimgio
Copy link

ogimgio commented Feb 26, 2023

any news on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants