Skip to main content

Python library to download bulk images from Bing.com

Project description

GitHub top language GitHub Hits

Bing Image Downloader


Python library to download bulk of images form Bing.com. This package uses async url, which makes it very fast while downloading.

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, verbose=True)

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.
filter : (optional, default is "") filter, choose from [line, photo, clipart, gif, transparent]
verbose : (optional, default is True) Enable downloaded message.

You can also test the programm by runnning test.py keyword

PyPi

https://pypi.org/project/bing-image-downloader/


Donate

You can buy me a coffee if this project was helpful to you.

Show your support

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

bing_image_downloader-1.1.2.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

bing_image_downloader-1.1.2-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file bing_image_downloader-1.1.2.tar.gz.

File metadata

  • Download URL: bing_image_downloader-1.1.2.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for bing_image_downloader-1.1.2.tar.gz
Algorithm Hash digest
SHA256 bdc207ae5b036869ab42ca9d95d8f4b515c1e47e3ae0108b83a407e85eb36f7d
MD5 f0284626fb329264fb97aafb803e6f77
BLAKE2b-256 11a52151c13f10a365617bceba904e7ae27a352dd847fe1a4d3d02b2e7d94736

See more details on using hashes here.

File details

Details for the file bing_image_downloader-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: bing_image_downloader-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for bing_image_downloader-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3b912f81d3bea1861a395fe2a6111f6d14654085abc3dc7467fbb57fd040f676
MD5 82d0be95c15477dbab6573cf8849c663
BLAKE2b-256 24bf105be56c70c4141a3d42dbb9cdd30dfbd3bb3fc135879fda21d1bfa1eb51

See more details on using hashes here.

Supported by

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