print count of tested links

This commit is contained in:
bMorgan01 2022-09-25 12:13:56 -06:00
parent 75d88ae1b1
commit c6e438348c

View file

@ -86,6 +86,14 @@ def main():
print("Crawling site...")
pages = spider(target, ignores)
print(f"Crawled {len(pages)} pages.\n")
testedLinks = []
for key in pages.keys():
testedLinks += pages[key]
testedLinks = list(set(testedLinks))
print(f"Tested {len(testedLinks)} links.")
count = 0
for link in pages.keys():
if type(pages[link]) == HTTPError: