include key in tested count
This commit is contained in:
parent
c6e438348c
commit
bd39d8b3f9
1 changed files with 3 additions and 3 deletions
6
main.py
6
main.py
|
|
@ -86,13 +86,13 @@ def main():
|
|||
print("Crawling site...")
|
||||
pages = spider(target, ignores)
|
||||
|
||||
print(f"Crawled {len(pages)} pages.\n")
|
||||
print(f"Crawled {len(pages)} pages.")
|
||||
|
||||
testedLinks = []
|
||||
for key in pages.keys():
|
||||
testedLinks += pages[key]
|
||||
testedLinks += pages[key] + [key]
|
||||
testedLinks = list(set(testedLinks))
|
||||
print(f"Tested {len(testedLinks)} links.")
|
||||
print(f"Tested {len(testedLinks)} links.\n")
|
||||
|
||||
count = 0
|
||||
for link in pages.keys():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue