From 363bb76dffe4f48e650a3d9913a14a2aa0eb561e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Thu, 16 Feb 2023 21:36:11 +0100 Subject: [PATCH] [manganelo] simplify URL pattern --- gallery_dl/extractor/manganelo.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gallery_dl/extractor/manganelo.py b/gallery_dl/extractor/manganelo.py index 23a2a71a..5b271827 100644 --- a/gallery_dl/extractor/manganelo.py +++ b/gallery_dl/extractor/manganelo.py @@ -10,12 +10,11 @@ from .common import ChapterExtractor, MangaExtractor from .. import text import re -BASE_PATTERN = \ - r"(?:https?://)?((?:chap|read|www\.|m\.)?mangan(?:ato|elo)\.com)" +BASE_PATTERN = r"(?:https?://)?((?:chap|read|www\.|m\.)?mangan(?:at|el)o\.com)" class ManganeloChapterExtractor(ChapterExtractor): - """Extractor for manga-chapters from manganelo.com""" + """Extractor for manga chapters from manganelo.com""" category = "manganelo" root = "https://chapmanganato.com" pattern = BASE_PATTERN + r"(/(?:manga-\w+|chapter/\w+)/chapter[-_][^/?#]+)"