Skip to main content

Python library to download images form Google Images with query.

Project description

Google Image Downloader


Simple Python package to download images form Google Images with query. This package selenium webdriver to retrive links to high resolution images

Disclaimer

This package helps you download images from Google Image. This package can download up to around 800-1000 images, depending the number of images return for a given query. Please do not violate any its terms.

Installation

pip install download_google_imgs

or

git clone https://github.com/xtcpete/download_google_imgs
cd download_google_imgs
pip install -r requirements.txt

Usage

from download_google_imgs import downloader
downloader.download(query, get_urls=False, output_name=None, num_images=10, root_dir='google_images', add_ons=['4k'], verbose=True)

query (string): query to search images
get_urls (bool, optional): if set to ture, it will only return links to images; images will not be downloaded. Defaults to False.
output_name (string, optional): folder name for saving images. Defaults to query string.
num_images (int, optional): number of images to download. Defaults to 10. root_dir (str, optional): root directory for saving images. Defaults to 'images'.
add_ons (list, optional): additional string for query. Defaults to ['4k'].
verbose (bool, optional): if set to True, it will print progress. Defaults to True.

PyPi

https://pypi.org/project/download-google-imgs/


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

download_google_imgs-1.0.5.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

download_google_imgs-1.0.5-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page