Google Images Hunter is a package made to scrap Google Search images engine.
Use the package manager pip to install Google Images Hunter.
pip install google-images-hunter
from google_images_hunter.google_images_hunter import Searcher
from google_images_hunter.image_downloader import ImageDownloader
# Step 1, create a Searcher object.You can set driver_path and other kwargs.
searcher = Searcher()
# Step 2, set and trigger the scrap() function. Concept is a required parameter.
# Max_images and loadmore have default values. download_url_lists defaults as False.
mylist = searcher.scrap(concept='clown', download_url_lists=True, max_images=250, loadmore=20)
# Step 3, use the URl list generated by scrap() to download the images on a given path. Defaults to current path.
ImageDownloader(mylist, path='downloadtest/clowns/')
This is just an scraper I built since I have not been able to find the exact kind of Google images scraper I was looking for. I made it mixing my own ideas and some features I cherrypicked from different scraping scripts I found during my research task. Thanks to those anonymous helpers.
Notice that this is the first version, currently tested on Firefox, so although it should work regularly on Chrome and Edge, it still needs more tests.