An open API service indexing awesome lists of open source software.

https://github.com/koallen/google-image-downloader

A script to download images from images.google.com
https://github.com/koallen/google-image-downloader

crawler google-images selenium

Last synced: 5 months ago
JSON representation

A script to download images from images.google.com

Awesome Lists containing this project

README

          

# Google Image Downloader

> A simple script that fetches images from Google with browser simulation.

## Pre-requisites

The code requires Python 3. The following Python packages are required to run the script.

- selenium
- requests
- fake_useragent
- beautifulsoup4
- lxml

You can install them via `pip install -r requirements.txt`. You also need install the ChromeDriver
for selenium to work. Please refer to [here](https://sites.google.com/a/chromium.org/chromedriver/getting-started)
on how to install it.

## Usage

```
usage: download_images.py [-h] [--worker WORKER] keyword

positional arguments:
keyword the keyword to search

optional arguments:
-h, --help show this help message and exit
--worker WORKER the number of workers used for downloading images
```

## Disclaimer

This script is written for the purpose of practicing programming skills. Use it at your own discretion.