diff --git a/gallery_dl/extractor/common.py b/gallery_dl/extractor/common.py index 95a81112..a1a48902 100644 --- a/gallery_dl/extractor/common.py +++ b/gallery_dl/extractor/common.py @@ -302,7 +302,7 @@ class GalleryExtractor(Extractor): def items(self): self.login() - page = self.request(self.gallery_url).text + page = self.request(self.gallery_url, notfound=self.subcategory).text data = self.metadata(page) imgs = self.images(page) diff --git a/gallery_dl/extractor/kissmanga.py b/gallery_dl/extractor/kissmanga.py index bb89f93d..7151de0b 100644 --- a/gallery_dl/extractor/kissmanga.py +++ b/gallery_dl/extractor/kissmanga.py @@ -19,9 +19,9 @@ import re class RedirectMixin(): """Detect and handle redirects to CAPTCHA pages""" - def request(self, url): + def request(self, url, **kwargs): while True: - response = Extractor.request(self, url) + response = Extractor.request(self, url, **kwargs) if not response.history or "/AreYouHuman" not in response.url: return response if self.config("captcha", "stop") == "wait":