1
0
Fork 0
mirror of https://github.com/kemayo/leech synced 2025-12-06 00:15:22 +01:00

satisfy linter

This commit is contained in:
Kevin Pedro 2025-03-05 21:03:35 -06:00
parent 280b242a27
commit b2f15eb76c

View file

@ -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: