Imageboard Downloader
imageboard-downloader-rs is a command-line multi image gallery downloader made in Rust with a very simple, yet extensible API.
It is a cross-platform tool with speed, simple cli interface and multiple simultaneous downloads as its main focus.
imageboard_downloader_rs has a hardcoded limit of 100 pages per download session to prevent API rate-limiting and put less strain on the imageboard's servers.
⚠ Avoid downloading single tag selections that span ~100k posts alone without using the download limiter. Be reasonate!
Features
- Multiple simultaneous downloads.
- Authentication and user blacklist.
- Download limit.
- Custom Imageboards (PLANNED. See https://github.com/FerrahWolfeh/imageboard-downloader-rs/issues/6)
- Global blacklist. See more
- Store downloads in
cbz
file. See more [x] Update already downloaded galleries.(DEPRECATED)
Installation
Currently, you can install the latest version using cargo
or download from Releases
Or by cloning this repository and building it yourself
The final binary will be located at target/release/imageboard_downloader
Windows releases coming someday...
Usage
The utility has 3 main operating modes:
1. Tag Search
This mode is the former default mode of the utility, where it will fetch all posts with a tag-based search
2. Post download
This mode is meant for downloading a single or a select few posts byt inputting their id
3. Pool download
This mode is for downloading entire groups of organized posts (pools)
Each mode has their own unique set of options, see more details with imageboard_downloader --help
or cargo run --release -- --help
.
Examples
Download images from danbooru with specified tags
In case you want to authenticate with danbooru or e621, use the --auth
flag only once. Then all subsequent downloads will use authentication as well.
Download images starting from page 10
Download only images with "safe" rating from e621
Download images from rule34 with 20 simultaneous downloads
Save downloaded images with their id instead of md5 as filename
By default, the program will download files to your current dir. In case you want to download files to another place use:
This will save files in /any/other/dir/<file>.png
If the specified directory does not exist, it will be created.
Download posts with annotated tags
In order to download posts and save their tags along with them in a .txt
file, just run the app like this:
Inspiration and References
- gallery-dl https://github.com/mikf/gallery-dl
- trauma (download workflow) https://github.com/rgreinho/trauma
- Av1an (mainly the progress bars) https://github.com/master-of-zen/av1an
- e621_downloader (part of e621 api) https://github.com/McSib/e621_downloader