diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-05-12 19:59:56 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-05-12 19:59:56 +0200 |
commit | 7a1b58912d16e181cef750493d4510f8bea40e97 (patch) | |
tree | 3b1eedba87913a42bb3b38d620daab891dfba247 /plugins/mangakatana.py | |
parent | 48e757baffbf75bc8a1e4171ad94c27d7356cafa (diff) |
Fix mangadex download
Diffstat (limited to 'plugins/mangakatana.py')
-rwxr-xr-x | plugins/mangakatana.py | 6 |
1 files changed, 3 insertions, 3 deletions
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 = [] |