[common] only auto-set page_url when first group starts with /
This commit is contained in:
@@ -88,9 +88,6 @@ class ComickChapterExtractor(ComickBase, ChapterExtractor):
|
||||
pattern = BASE_PATTERN + r"/comic/([\w-]+)/(\w+-chapter-[^/?#]+)"
|
||||
example = "https://comick.io/comic/MANGA/ID-chapter-123-en"
|
||||
|
||||
def __init__(self, match):
|
||||
ChapterExtractor.__init__(self, match, False)
|
||||
|
||||
def metadata(self, page):
|
||||
slug, chstr = self.groups
|
||||
manga = self._manga_info(slug)
|
||||
@@ -134,9 +131,6 @@ class ComickMangaExtractor(ComickBase, MangaExtractor):
|
||||
pattern = BASE_PATTERN + r"/comic/([\w-]+)/?(?:\?([^#]+))?"
|
||||
example = "https://comick.io/comic/MANGA"
|
||||
|
||||
def __init__(self, match):
|
||||
MangaExtractor.__init__(self, match, False)
|
||||
|
||||
def items(self):
|
||||
slug = self.groups[0]
|
||||
manga = self._manga_info(slug)
|
||||
|
||||
Reference in New Issue
Block a user