aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-04-07 17:43:33 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-06 07:12:34 +0200
commit591bdbf9c5d64426180f536c55f9ed594e28a5a2 (patch)
tree94ca3e2578c18b4688f1993dd5d8807cd42eda56 /plugins
parent268ab7c0294c0338f3eaae3659934203812339c9 (diff)
mm
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/mangaplus.shueisha.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/mangaplus.shueisha.py b/plugins/mangaplus.shueisha.py
index d0978e7..5cd9b67 100755
--- a/plugins/mangaplus.shueisha.py
+++ b/plugins/mangaplus.shueisha.py
@@ -233,13 +233,13 @@ def list_chapters(url, chapter_list_input):
seen_urls.add(url)
resp_data = resp.success.title_detail
- all_chapters_reversed = []
+ all_chapters = []
for resp_chapters in (resp_data.first_chapters, resp_data.last_chapters):
for chapter in resp_chapters:
- all_chapters_reversed.append(chapter)
+ all_chapters.append(chapter)
chapters = []
- for chapter in reversed(all_chapters_reversed):
+ for chapter in reversed(all_chapters):
title = chapter.subtitle
url = "https://mangaplus.shueisha.co.jp/viewer/{0}".format(chapter.id)
if title.lower().replace(" ", "") in seen_titles or url in seen_urls: