Skip to content

Latest commit

 

History

History
27 lines (24 loc) · 993 Bytes

README.md

File metadata and controls

27 lines (24 loc) · 993 Bytes

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.