mirror of
https://github.com/kemayo/leech
synced 2025-12-06 00:15:22 +01:00
satisfy linter
This commit is contained in:
parent
280b242a27
commit
b2f15eb76c
1 changed files with 2 additions and 0 deletions
|
|
@ -77,6 +77,7 @@ class Arbitrary(Site):
|
|||
# set of already processed urls. Stored to detect loops.
|
||||
found_content_urls = set()
|
||||
content_url = definition.url
|
||||
|
||||
def process_content_url(content_url):
|
||||
if content_url in found_content_urls:
|
||||
return False
|
||||
|
|
@ -97,6 +98,7 @@ class Arbitrary(Site):
|
|||
if status:
|
||||
break
|
||||
return True
|
||||
|
||||
process_content_url(content_url)
|
||||
|
||||
if not story:
|
||||
|
|
|
|||
Loading…
Reference in a new issue