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/lhtranslation.py | |
parent | 48e757baffbf75bc8a1e4171ad94c27d7356cafa (diff) |
Fix mangadex download
Diffstat (limited to 'plugins/lhtranslation.py')
-rwxr-xr-x | plugins/lhtranslation.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/lhtranslation.py b/plugins/lhtranslation.py index 082b865..4416e94 100755 --- a/plugins/lhtranslation.py +++ b/plugins/lhtranslation.py @@ -54,9 +54,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 = [] |