aboutsummaryrefslogtreecommitdiff
path: root/plugins/manganelo.py
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-05-12 19:59:56 +0200
committerdec05eba <dec05eba@protonmail.com>2021-05-12 19:59:56 +0200
commit7a1b58912d16e181cef750493d4510f8bea40e97 (patch)
tree3b1eedba87913a42bb3b38d620daab891dfba247 /plugins/manganelo.py
parent48e757baffbf75bc8a1e4171ad94c27d7356cafa (diff)
Fix mangadex download
Diffstat (limited to 'plugins/manganelo.py')
-rwxr-xr-xplugins/manganelo.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/manganelo.py b/plugins/manganelo.py
index 57eb0cc..b742995 100755
--- a/plugins/manganelo.py
+++ b/plugins/manganelo.py
@@ -68,9 +68,9 @@ def list_chapters(url, chapter_list_input):
seen_urls = set()
for item in chapter_list_input:
- url = item.get("url")
- if url and len(url) > 0:
- seen_urls.add(url.replace("mangakakalot", "manganelo"))
+ chapter_url = item.get("url")
+ if chapter_url and len(chapter_url) > 0:
+ seen_urls.add(chapter_url.replace("mangakakalot", "manganelo"))
tree = etree.HTML(response.text)
chapters = []