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/mangakatana.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/mangakatana.py') diff --git a/plugins/mangakatana.py b/plugins/mangakatana.py index e90d916..f4db8cf 100755 --- a/plugins/mangakatana.py +++ b/plugins/mangakatana.py @@ -58,9 +58,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 = [] -- cgit v1.2.3