")
- chapter += r"" # Add this back in so we can match the date
+ chapter, _ = text.extract(
+ page, f'
"
+ )
+ chapter += r"" # so we can match the date
url, pos = text.extract(chapter, '
')
+ title, _ = text.extract(
+ chapter, f'"
+ )
title, _ = text.extract(title, r"", r"")
if title is None or title == "" or title == "":
title, _ = text.extract(chapter, ">", "", pos)
date, _ = text.extract(chapter, "
")
- num_chapters, _ = text.extract(num_chapters, r"", r"")
+ num_chapters = text.extr(page, ">Chapters<", "
")
+ num_chapters = text.extr(num_chapters, r"", r"")
num_chapters = text.parse_int(num_chapters)
if num_chapters == 0:
raise exception.NotFoundError("chapter")
- manga, _ = text.extract(
+ manga = text.extr(
page, "