From 196aa263c2afb6105a59c8643e4c96c481c4ba64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Thu, 20 Feb 2025 20:53:35 +0100 Subject: [PATCH] [imhentai] improve pagination duplicate filtering --- gallery_dl/extractor/imhentai.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gallery_dl/extractor/imhentai.py b/gallery_dl/extractor/imhentai.py index c2096b79..0439f5be 100644 --- a/gallery_dl/extractor/imhentai.py +++ b/gallery_dl/extractor/imhentai.py @@ -16,6 +16,7 @@ class ImhentaiExtractor(BaseExtractor): basecategory = "IMHentai" def _pagination(self, url): + prev = None base = self.root + "/gallery/" data = {"_extractor": ImhentaiGalleryExtractor} @@ -25,10 +26,12 @@ class ImhentaiExtractor(BaseExtractor): while True: gallery_id = extr('