jyangtum / bing_image_downloader

Python library to download bulk of images from Bing.com

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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/AbhiDhariwal/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, visited_urls = {}, return_visited_url = False)

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.
visited_urls : (optional, default is { }) visited urls Dict.
return_visited_url : (optional, default is False) return Dict of visited urls (can be used when searching same query with new limit size or similar query.

Updated Version of

https://github.com/gurugaurav/bing_image_downloader

PyPi

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

About

Python library to download bulk of images from Bing.com

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

License:MIT License


Languages

Language:Python 100.0%