mirror of
https://github.com/mikf/gallery-dl.git
synced 2025-01-31 19:51:34 +01:00
[manganelo] simplify URL pattern
This commit is contained in:
parent
bd5d08abbc
commit
363bb76dff
@ -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[-_][^/?#]+)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user