Fix python 3.5 linting issue

pull/4979/head
bug-assassin 9 months ago
parent 06ff1d3a3c
commit 2c3f171d65

@ -49,8 +49,8 @@ class BatoChapterExtractor(BatoBase, ChapterExtractor):
r"Chapter *([\d\.]+)", info)
manga, volume, chapter = match.groups() if match else ("", "", info)
chapter, sep, minor = chapter.partition(".")
title_container = text.extr(page, f'<a href="{self.path}"', "</a>")
title = text.extr(title_container, "<!-- -->", "</span>")
title_section = text.extr(page, '<a href="' + self.path + '"', "</a>")
title = text.extr(title_section, "<!-- -->", "</span>")
return {
"manga" : text.unescape(manga),

Loading…
Cancel
Save