aboutsummaryrefslogtreecommitdiff
path: root/plugins/mangatown.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/mangatown.py
parent48e757baffbf75bc8a1e4171ad94c27d7356cafa (diff)
Fix mangadex download
Diffstat (limited to 'plugins/mangatown.py')
-rwxr-xr-xplugins/mangatown.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/mangatown.py b/plugins/mangatown.py
index 1a7eae9..87a1173 100755
--- a/plugins/mangatown.py
+++ b/plugins/mangatown.py
@@ -60,9 +60,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)
+ chapter_url = item.get("url")
+ if chapter_url and len(chapter_url) > 0:
+ seen_urls.add(chapter_url)
tree = etree.HTML(response.text)
chapters = []