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:
parent
a25aa26577
commit
a09cef79c6
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user