From 516c69297de299a64bc69a9b31eadc771b815572 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Mon, 1 Jan 2024 22:05:21 +0100 Subject: [PATCH] [manganelo] fix extraction & recognize '.to' TLDs (#5005) --- gallery_dl/extractor/manganelo.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/gallery_dl/extractor/manganelo.py b/gallery_dl/extractor/manganelo.py index 46019ad8..232b98d4 100644 --- a/gallery_dl/extractor/manganelo.py +++ b/gallery_dl/extractor/manganelo.py @@ -10,7 +10,11 @@ from .common import ChapterExtractor, MangaExtractor from .. import text import re -BASE_PATTERN = r"(?:https?://)?((?:chap|read|www\.|m\.)?mangan(?:at|el)o\.com)" +BASE_PATTERN = ( + r"(?:https?://)?" + r"((?:chap|read|www\.|m\.)?mangan(?:at|el)o" + r"\.(?:to|com))" +) class ManganeloBase(): @@ -67,10 +71,11 @@ class ManganeloChapterExtractor(ManganeloBase, ChapterExtractor): def images(self, page): page = text.extr( - page, 'class="container-chapter-reader', '\n