[hentai2read] fix manga name extraction

This commit is contained in:
Mike Fährmann
2018-02-04 22:12:24 +01:00
parent 54c36a8a34
commit 377b78b3c9

View File

@@ -34,7 +34,7 @@ class Hentai2readMangaExtractor(MangaExtractor):
def chapters(self, page):
results = []
manga, pos = text.extract(
page, '<span itemprop="itemreviewed">', '</span>')
page, '<span itemprop="name">', '</span>')
mtype, pos = text.extract(
page, '<small class="text-danger">[', ']</small>', pos)
manga_id = util.safe_int(text.extract(page, 'data-mid="', '"', pos)[0])