From f6ce870885a1df8dfed788c0c9c2cadee1c21f8f Mon Sep 17 00:00:00 2001
From: bug-assassin <7788433+bug-assassin@users.noreply.github.com>
Date: Thu, 28 Dec 2023 17:25:15 -0500
Subject: [PATCH] Better variable names
---
gallery_dl/extractor/bato.py | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
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, "