File size: 587 Bytes
73d7733
 
 
 
 
 
 
 
 
ccb28a7
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
license: mit
---

Index files of [KBlueLeaf/danbooru2023-webp-4Mpixel](https://huggingface.co/datasets/KBlueLeaf/danbooru2023-webp-4Mpixel).

You can download images from KBlueLeaf/danbooru2023-webp-4Mpixel with [cheesechaser](https://github.com/deepghs/cheesechaser).

```python
from cheesechaser.datapool import DanbooruWebpDataPool

pool = DanbooruWebpDataPool()

# download danbooru images with webp format, to directory /data/danbooru_webp
pool.batch_download_to_directory(
    resource_ids=range(6000000, 6001000),
    dst_dir='/data/danbooru_webp',
    max_workers=12,
)

```