バルクビング画像ダウンローダー(BBID)はダウンローダーです。
pip install git+https://github.com/ostrolucky/Bulk-Bing-Image-downloader
usage: bbid.py [-h] [-f] [-o OUTPUT] [-a] [-g] [--filters FILTERS] [--limit LIMIT] [-t THREADS]
search_string [search_string ...]
Bing image bulk downloader
positional arguments:
search_string Keyword to search
optional arguments:
-h, --help show this help message and exit
-f, --search-file search-string is a path to a file containing search strings line by line
-o OUTPUT, --output OUTPUT
Output directory
-a, --adult-filter-off
Disable adult filter
-g, --animated-gif Disable adult filter
--filters FILTERS Any query based filters you want to append when searching for images, e.g. +filterui:license-L1
--limit LIMIT Make sure not to search for more than specified amount of images.
-t THREADS, --threads THREADS
Number of threads
または、必要に応じて、YouTubeチュートリアルを見ることができます
bbid hello world
ライセンス、画像サイズなどのフィルターなどのBingのフィルターの一部を適用することもできます。Bbidは、それらの素敵で読みやすいバリエーションを露出させませんが、Bing Webサイトで公開されたすべてのフィルターを利用できます。必要なのは、Bing Webサイトから必要なフィルターを適用し、URLからコピーすることです。それらは、 &qft=
および前にあります&
たとえば、 past week
code
を検索してフィルターを適用し、画像サイズlarge
、 http://www.bing.com/images/search?sp=-1&pq=code&sc=0-0&sk=&cvid=39A810C4AF314AB6A5A923F4FB6E5282&q=code&qft=+filterui:age-lt10080+filterui:imagesize-large&FORM=IRFLTR
?sp = 1&pq = code&sc = 0&sk =&cvid http://www.bing.com/images/search?sp=-1&pq=code&sc=0-0&sk=&cvid=39A810C4AF314AB6A5A923F4FB6E5282&q=code&qft=+filterui:age-lt10080+filterui:imagesize-large&FORM=IRFLTR
このURLから抽出するフィルター文字列+filterui:age-lt10080+filterui:imagesize-large
。その後、 - フィルター、例えば、bbidでそれらを適用できます
bbid code --filters +filterui:age-lt10080+filterui:imagesize-large