No description
This repository has been archived on 2025-01-17. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Find a file
2018-10-04 22:56:50 -04:00
.gitignore Initial commit 2018-10-04 21:52:13 -05:00
booru-fetch.py Initial commit 2018-10-04 21:52:13 -05:00
LICENSE Initial commit 2018-10-04 21:52:13 -05:00
README.md Update 'README.md' 2018-10-04 22:56:50 -04:00

booru-fetch

A Python script that can be used to fetch images in bulk from various image boorus utilizing their APIs.

Dependencies

This script was written for Python 3. It has been tested on Python 3.6 and Python 3.7. Additionally, BeautifulSoup is a required library.

Usage

usage: booru-fetch.py [-h] [-b --booru] [-t --tags] [-d --dir]

A utility for downloading images from varying boorus matching specific tags.

optional arguments:
  -h, --help  show this help message and exit
  -b --booru  The booru to search on.
  -t --tags   The tags to search for.
  -d --dir    Directory to save in. Defaults to './downloaded'

booru can be any one of the following:

  • danbooru (Not yet implemented)
  • gelbooru
  • safebooru
  • tbib
  • konachan
  • yandere
  • xbooru
  • lolibooru
  • r34xxx
  • r34ph

tags is a comma-separated list of tags that will be used as the search criteria. Note that some tags vary from booru to booru and may not always be consistent. Example: megumin works on Gelbooru but most other boorus like TBIB use megumin_(konosuba)

dir specifies the output directory to save downloaded files to. If not specified, it defaults to ./downloaded