diff options
Diffstat (limited to 'plugins/readm.py')
-rwxr-xr-x | plugins/readm.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/readm.py b/plugins/readm.py index 74ae43c..8b8d024 100755 --- a/plugins/readm.py +++ b/plugins/readm.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 = [] |