google-images-download
google-images-download copied to clipboard
Workarounds for downloading more than 400 images
I understand that there is a cap of images per query on google images now. I am trying to generate a data set that needs at least 1000 relevant results per query. Can anyone recommend any ideas that may solve the problem. I am trying to alter the queries slightly, but, it's not efficient.
Also, does google-images-download support querying in a different language?
Thank you in advance!
It should be able to download more than 100 as long as you have chromium installed.
Also you can specify a language with the language argument
I have got the same issue, I tried different keywords, but all download with less than four hundred images, and the --related_images seems not working. Does anyone fix this?
I have got the same issue, I tried different keywords, but all download with less than four hundred images, and the --related_images seems not working. Does anyone fix this?
Not possible, it's Google's image search query limit. Possible workaround is to make multiple queries with an added random letter/digit/word.
It is in fact possible to get more than 400 images, see my post in the above link.
It should be able to download more than 100 as long as you have chromium installed.
Also you can specify a language with the
languageargument
Hi Joe,
Thanks for your work in this repo.
I tried the code googleimagesdownload --keywords "Polar bears" --chromedriver 'path/to/chromedriver' --limit 400, but got error like json.decoder.JSONDecodeError: Extra data: line 1 column 107123 (char 107122)
But it works when setting up the image limit under 100.
I'm using python3.9. Any suggestions? Thanks.
Kind regards. Kai
Hi @kaiqiangh,
It was fixed with https://github.com/Joeclinton1/google-images-download/pull/8