From 72e66f0aac20de7e53ca61e4879a60e61e6433c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Wed, 30 May 2018 11:44:09 +0200 Subject: [PATCH] [simplyhentai] improve URL pattern [ci skip] --- gallery_dl/extractor/simplyhentai.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gallery_dl/extractor/simplyhentai.py b/gallery_dl/extractor/simplyhentai.py index c84fdf83..326150bb 100644 --- a/gallery_dl/extractor/simplyhentai.py +++ b/gallery_dl/extractor/simplyhentai.py @@ -20,8 +20,8 @@ class SimplyhentaiGalleryExtractor(ChapterExtractor): filename_fmt = "{category}_{gallery_id}_{page:>03}.{extension}" archive_fmt = "{image_id}" pattern = [r"(?:https?://)?(?!videos\.)([\w-]+\.simply-hentai\.com" - r"(?!/(?:album|gif|image|series)/)" - r"(?:/(?!(?:page|all-pages)/)[^/?&#]+)+)"] + r"(?!/(?:album|gifs?|images?|series)(?:/|$))" + r"(?:/(?!(?:page|all-pages)(?:/|\.|$))[^/?&#]+)+)"] test = [ (("https://original-work.simply-hentai.com" "/amazon-no-hiyaku-amazon-elixir"), {