Python library to download bulk images from Bing.com
Project description
Bing Image Downloader
Python liberary to download bulk of images form Bing.com.It uses async url, so it is very fast.
Disclaimer
This program lets you download tons of images from Bing. Please do not download or use any image that violates its copyright terms.
Installation
pip install bing-image-downloader
or
git clone https://github.com/gurugaurav/bing_image_downloader
cd bing_image_downloader
pip install .
Usage
from bing_image_downloader import downloader
downloader.download(query_string, limit=100, output_dir='dataset', adult_filter_off=True, force_replace=False, timeout=60)
query_string
: String to be searched.
limit
: (optional, default is 100) Number of images to download.
output_dir
: (optional, default is 'dataset') Name of output dir.
adult_filter_off
: (optional, default is True) Enable of disable adult filteration.
force_replace
: (optional, default is False) Delete folder if present and start a fresh download.
timeout
: (optional, default is 60) timeout for connection in seconds.
PyPi
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 bing_image_downloader-1.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | acbe8cf384ca17457eea37a87bc3f5b4eb0a9acec09e75b7d64e7b364829131d |
|
MD5 | 4e4834d3d532c23ed9cc9c45efd910ef |
|
BLAKE2b-256 | 932881f3f5de5f486e90b64156cd70a2f2e7a048c32bf452c7a3e49207e7bb91 |
Hashes for bing_image_downloader-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec181fbf09322e0ae7f9e147da464e01432b7d1727031410ecf1fa1905e0db2d |
|
MD5 | 70595c6bdc9dc7301ec3a3c53384be17 |
|
BLAKE2b-256 | 0dbf537a61030b84ae4cd5022d5c7b014fd9bc3ce7c02358919153a6658a61d3 |