❗ IMPORTANT NOTE ❗
Even with my fixes the script is not working anymore. I think the main problem is that google changed the way it returns images from a search. If you want to look into the problem: the _get_next_item()
method of the googleimagesdownload
object is unable to isolate any items.
Alternatively you can use my very simple implementation for downloading thumbnails https://github.com/therealpeterpython/ThumbnailDownloader or you could take a look on the serpAPI https://serpapi.com/images-results by google itself.
Python Script for 'searching' and 'downloading' hundreds of Google images to the local hard disk!
This program lets you download tons of images from Google. Please do not download or use any image that violates its copyright terms. Google Images is a search engine that merely indexes images and allows you to find them. It does NOT produce its own images and, as such, it doesn't own copyright on any of them. The original creators of the images own the copyrights.
Images published in the United States are automatically copyrighted by their owners, even if they do not explicitly carry a copyright warning. You may not reproduce copyright images without their owner's permission, except in "fair use" cases, or you could risk running into lawyer's warnings, cease-and-desist letters, and copyright suits. Please be very careful before its usage! Use this script/code only for educational purposes.