fix: memory improvement
This commit is contained in:
parent
f67502e68c
commit
632a840572
2
index.py
2
index.py
@ -79,7 +79,7 @@ for host in sites:
|
||||
|
||||
if href and href != '/':
|
||||
p = to_absolute(href, host)
|
||||
if p and p.netloc == main.netloc:
|
||||
if p and p.netloc == main.netloc and p.geturl() not in visited:
|
||||
queue.insert(0, p)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user