propagate 'match' to base extractor constructor

This commit is contained in:
Mike Fährmann
2019-02-11 13:31:10 +01:00
parent ade86da7a1
commit 4b1880fa5e
70 changed files with 150 additions and 155 deletions

View File

@@ -70,7 +70,7 @@ class HentaihereChapterExtractor(ChapterExtractor):
self.manga_id, self.chapter = match.groups()
url = "https://hentaihere.com/m/S{}/{}/1".format(
self.manga_id, self.chapter)
ChapterExtractor.__init__(self, url)
ChapterExtractor.__init__(self, match, url)
def get_metadata(self, page):
title = text.extract(page, "<title>", "</title>")[0]