Skip to main content

Python library to download images form Google Images with query.

Project description

GitHub top language GitHub Hits

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

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.0.tar.gz (3.9 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.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: download_google_imgs-1.0.0.tar.gz
  • Upload date:
  • Size: 3.9 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.0.tar.gz
Algorithm Hash digest
SHA256 5120e0fcfe4dda3ebb52cdec54c225a4350e338f8dbf611d664f340e9eb19542
MD5 311de4bdda448635072b38868ce48262
BLAKE2b-256 0e29368e6d5430766f13c31a565b757b439186fa5a5c8928158bddf691af1073

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for download_google_imgs-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cf8798e49366d62ece6d60eb39bbf36af47c0a9561bd15f9d24ed8282677f466
MD5 e4029f989dec2f2e6932bd092b001238
BLAKE2b-256 d9772126b47feff935a493168a825c4a1d03a23ee57553a1f6a8cf909937d157

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