From 7a1b58912d16e181cef750493d4510f8bea40e97 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 12 May 2021 19:59:56 +0200 Subject: Fix mangadex download --- plugins/manganelo.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/manganelo.py') 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 = [] -- cgit v1.2.3