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
Built Distribution
Hashes for download_google_imgs-1.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8d25ebc60f9e1c6c8cb0918c2519a8ff370ede61aec195405934aa563ba32a5 |
|
MD5 | 35389f21aff77a51cb3cccf737ba7e45 |
|
BLAKE2b-256 | c7b16a4cb13b2deb6618f85e390534cffb79f8e37355da415d1a990b57b8975d |
Hashes for download_google_imgs-1.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5100de1969943ce2e7cec921ba71b4d3e16f4a5f14680842ce025ec127762d11 |
|
MD5 | 768a687b9edd24879e9fca771ee5480f |
|
BLAKE2b-256 | b41cf792b6f767283452a5bc2b4c0f371f353e9437c2ced44958d5008fa7c062 |