diff --git a/gallery_dl/extractor/imagefap.py b/gallery_dl/extractor/imagefap.py index 345f51dd..28590fc5 100644 --- a/gallery_dl/extractor/imagefap.py +++ b/gallery_dl/extractor/imagefap.py @@ -19,7 +19,8 @@ class ImagefapExtractor(Extractor): category = "imagefap" root = "https://www.imagefap.com" 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}" request_interval = (2.0, 4.0)