Google-Images-Scraper-Python allows you to download any images from Google Images.
- Clone the repository
git clone https://github.com/DGMaxime/Google-Images-Scraper-Python.git
- Install the required packages
pip install -r requirements.txt
Specify at least the search terms. You can specify one or more terms and do one or more searches. A list will be created. See examples below :
> python google_images_scraping.py --search "flower"
['flower']
One term and one search.
> python google_images_scraping.py --search "flower hat" "tea tree oil" "bird flying"
['flower hat', 'tea tree oil', 'bird flying']
Multiples terms and multiple searches.
You can specify three options in addition to the search terms.
--images Number of images to download (int)
--first Position of the first images to download (int)
--thb Download thumbnail (True) or large images (False)
Please note that Google Images can display about 500 images at the most.