diff --git a/gallery_dl/extractor/bato.py b/gallery_dl/extractor/bato.py
index 082c5e0a..d29a58bf 100644
--- a/gallery_dl/extractor/bato.py
+++ b/gallery_dl/extractor/bato.py
@@ -97,32 +97,33 @@ class BatoMangaExtractor(BatoBase, MangaExtractor):
results = []
for chapter_num in range(num_chapters):
- chapter = text.extr(
+ chapter_info = text.extr(
page,
'
"
)
- chapter += r"" # so we can match the date
- url, pos = text.extract(chapter, '
" # so we can match the date
+ url, pos = text.extract(chapter_info, '"
)
title = text.extr(title, r"", r"")
if title is None or title == "" or title == "":
- title, _ = text.extract(chapter, ">", "", pos)
+ title, _ = text.extract(chapter_info, ">", "", pos)
- date = text.extr(chapter, "