Awesome
DanbooruDownloader
DanbooruDownloader is image download software for Danbooru.
Quick start
> DanbooruDownloader dump MyDataset
Download all images and its metadata on Danbooru server to local folder MyDataset
. To see further help, run with --help
option.
Output
Your downloaded images are saved as following structure.
MyDataset/
├── images/
│ ├── 00/
│ │ ├── 00000000000000000000000000000000.jpg
│ │ ├── 00000000000000000000000000000000-danbooru.json
│ │ ├── ...
│ ├── 01/
│ │ ├── ...
│ └── ff/
│ ├── ...
└── danbooru.sqlite
The filename of images is its MD5 hash. And -danbooru.json
file contains the metadata of image post.
All of metadata is also saved as SQLite database, named danbooru.sqlite
. Its table structure is same to the output of Danbooru json API.