[hiperdex] fix 'manga' metadata

This commit is contained in:
Mike Fährmann
2023-11-26 01:24:42 +01:00
parent d119507037
commit fc1101779c

View File

@@ -30,10 +30,10 @@ class HiperdexBase():
extr = text.extract_from(page)
return {
"manga" : text.unescape(extr(
"<title>", "<").rpartition(" Manga - ")[0].strip()),
"url" : text.unescape(extr(
'property="og:url" content="', '"')),
"manga" : text.unescape(extr(
'"headline": "', '"')),
"score" : text.parse_float(extr(
'id="averagerate">', '<')),
"author" : text.remove_html(extr(