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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file download_google_imgs-1.0.5.tar.gz.

File metadata

  • Download URL: download_google_imgs-1.0.5.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for download_google_imgs-1.0.5.tar.gz
Algorithm Hash digest
SHA256 a8d25ebc60f9e1c6c8cb0918c2519a8ff370ede61aec195405934aa563ba32a5
MD5 35389f21aff77a51cb3cccf737ba7e45
BLAKE2b-256 c7b16a4cb13b2deb6618f85e390534cffb79f8e37355da415d1a990b57b8975d

See more details on using hashes here.

File details

Details for the file download_google_imgs-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for download_google_imgs-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5100de1969943ce2e7cec921ba71b4d3e16f4a5f14680842ce025ec127762d11
MD5 768a687b9edd24879e9fca771ee5480f
BLAKE2b-256 b41cf792b6f767283452a5bc2b4c0f371f353e9437c2ced44958d5008fa7c062

See more details on using hashes here.

Supported by

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