[common] only auto-set page_url when first group starts with /

This commit is contained in:
Mike Fährmann
2025-06-26 23:35:53 +02:00
parent 26e81e4162
commit df6f4e5307
5 changed files with 17 additions and 24 deletions

View File

@@ -98,9 +98,6 @@ class WeebcentralMangaExtractor(WeebcentralBase, MangaExtractor):
pattern = BASE_PATTERN + r"/series/(\w+)"
example = "https://weebcentral.com/series/01J7ABCDEFGHIJKLMNOPQRSTUV/TITLE"
def __init__(self, match):
MangaExtractor.__init__(self, match, False)
def chapters(self, _):
manga_id = self.groups[0]
referer = "{}/series/{}".format(self.root, manga_id)