[komikcast] fix extraction

pull/1484/head
Mike Fährmann 3 years ago
parent 086925e685
commit bef3105121
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -60,7 +60,7 @@ class KomikcastChapterExtractor(KomikcastBase, ChapterExtractor):
)
def metadata(self, page):
info = text.extract(page, "<title>", " &ndash; Komikcast<")[0]
info = text.extract(page, "<title>", " Komikcast<")[0]
return self.parse_chapter_string(info)
@staticmethod
@ -100,7 +100,7 @@ class KomikcastMangaExtractor(KomikcastBase, MangaExtractor):
@staticmethod
def metadata(page):
"""Return a dict with general metadata"""
manga , pos = text.extract(page, "<title>" , " &ndash; Komikcast<")
manga , pos = text.extract(page, "<title>" , " Komikcast<")
genres, pos = text.extract(
page, 'class="komik_info-content-genre">', "</span>", pos)
author, pos = text.extract(page, ">Author:", "</span>", pos)

Loading…
Cancel
Save