mirror of https://github.com/CIRCL/lookyloo
fix: do not add already processed UUIDs in the queue
parent
cdaa4a7563
commit
0074f33544
|
@ -483,7 +483,8 @@ class Lookyloo():
|
|||
priority=priority
|
||||
)
|
||||
|
||||
if self.redis.zscore('to_capture', perma_uuid) is None:
|
||||
if (not self.redis.hexists('lookup_dirs', perma_uuid) # already captured
|
||||
and self.redis.zscore('to_capture', perma_uuid) is None): # capture ongoing
|
||||
if priority < -10:
|
||||
# Someone is probably abusing the system with useless URLs, remove them from the index
|
||||
query['listing'] = 0
|
||||
|
|
Loading…
Reference in New Issue