[nsfwalbum] fix default directory_fmt (#287)

This commit is contained in:
Mike Fährmann 2019-06-24 18:29:54 +02:00
parent 95b1e4c3c0
commit e314621366
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -18,6 +18,7 @@ class NsfwalbumAlbumExtractor(GalleryExtractor):
subcategory = "album"
root = "https://nsfwalbum.com"
filename_fmt = "{album_id}_{page:>03}_{id}.{extension}"
directory_fmt = ("{category}", "{album_id} {title}")
archive_fmt = "{id}"
pattern = r"(?:https?://)?(?:www\.)?nsfwalbum\.com(/album/(\d+))"
test = ("https://nsfwalbum.com/album/295201", {