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

[imagefap] fix '{num}' in default filenames for single images

fixes regression introduced in 304bb4bb
This commit is contained in:
Mike Fährmann 2024-10-10 13:40:50 +02:00
parent a25aa26577
commit a09cef79c6
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

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