1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-25 04:02:32 +01:00

Reduce default numbering to 4 digits of zero-padding.

This commit is contained in:
ShruggZoltan 2024-07-27 01:11:50 +00:00
parent db2a61ba08
commit 20f670c3b6

View File

@ -19,7 +19,7 @@ class ImagefapExtractor(Extractor):
category = "imagefap"
root = "https://www.imagefap.com"
directory_fmt = ("{category}", "{gallery_id} {title}")
filename_fmt = "{category}_{gallery_id}_{num:07}_{filename}.{extension}"
filename_fmt = "{category}_{gallery_id}_{num:04}_{filename}.{extension}"
archive_fmt = "{gallery_id}_{image_id}"
request_interval = (2.0, 4.0)