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

merge #5887: [imagefap] add '{num}' to default filenames (#1746)

This commit is contained in:
Mike Fährmann 2024-07-27 09:26:48 +02:00
commit 304bb4bbb8
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

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}_{filename}.{extension}"
filename_fmt = "{category}_{gallery_id}_{num:04}_{filename}.{extension}"
archive_fmt = "{gallery_id}_{image_id}"
request_interval = (2.0, 4.0)