mirror of
https://github.com/mikf/gallery-dl.git
synced 2025-01-31 19:51:34 +01:00
[exhentai] fix multi-page viewer detection (#4969)
This commit is contained in:
parent
5b6b5dd81b
commit
f178839fc2
@ -441,7 +441,7 @@ class ExhentaiGalleryExtractor(ExhentaiExtractor):
|
||||
raise exception.AuthorizationError()
|
||||
if page.startswith(("Key missing", "Gallery not found")):
|
||||
raise exception.NotFoundError("gallery")
|
||||
if "hentai.org/mpv/" in page:
|
||||
if page.count("hentai.org/mpv/") > 1:
|
||||
self.log.warning("Enabled Multi-Page Viewer is not supported")
|
||||
return page
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user