Skip to content

Commit

Permalink
[manganelo] simplify URL pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Feb 16, 2023
1 parent bd5d08a commit 363bb76
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions gallery_dl/extractor/manganelo.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@
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[-_][^/?#]+)"
Expand Down

0 comments on commit 363bb76

Please sign in to comment.