From 81835b948cd74474b84778352fbee7e9152c233e Mon Sep 17 00:00:00 2001 From: HRXN Date: Tue, 4 May 2021 18:18:14 +0200 Subject: [PATCH] [nozomi] Extend default archive-fmt for Tag and Search Extractor Closes #1523 --- gallery_dl/extractor/nozomi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gallery_dl/extractor/nozomi.py b/gallery_dl/extractor/nozomi.py index e1081da9b5..a850371b2a 100644 --- a/gallery_dl/extractor/nozomi.py +++ b/gallery_dl/extractor/nozomi.py @@ -158,7 +158,7 @@ class NozomiTagExtractor(NozomiExtractor): """Extractor for posts from tag searches on nozomi.la""" subcategory = "tag" directory_fmt = ("{category}", "{search_tags}") - archive_fmt = "t_{search_tags}_{postid}" + archive_fmt = "t_{search_tags}_{postid}_{dataid}" pattern = r"(?:https?://)?nozomi\.la/tag/([^/?#]+)-(\d+)\." test = ("https://nozomi.la/tag/3:1_aspect_ratio-1.html", { "pattern": r"^https://i.nozomi.la/\w/\w\w/\w+\.\w+$", @@ -180,7 +180,7 @@ class NozomiSearchExtractor(NozomiExtractor): """Extractor for search results on nozomi.la""" subcategory = "search" directory_fmt = ("{category}", "{search_tags:J }") - archive_fmt = "t_{search_tags}_{postid}" + archive_fmt = "t_{search_tags}_{postid}_{dataid}" pattern = r"(?:https?://)?nozomi\.la/search\.html\?q=([^&#]+)" test = ("https://nozomi.la/search.html?q=hibiscus%203:4_ratio#1", { "count": ">= 5",