add test for 'Extractor.initialize()' (#4359)

This commit is contained in:
Mike Fährmann
2023-07-28 16:58:16 +02:00
parent 2bcf0a4c49
commit 255d08b79e
3 changed files with 15 additions and 5 deletions

View File

@@ -114,8 +114,7 @@ class MangahereMangaExtractor(MangahereBase, MangaExtractor):
("https://m.mangahere.co/manga/aria/"),
)
def __init__(self, match):
MangaExtractor.__init__(self, match)
def _init(self):
self.cookies.set("isAdult", "1", domain="www.mangahere.cc")
def chapters(self, page):