include key in tested count
This commit is contained in:
parent
bd39d8b3f9
commit
b7716a47ac
1 changed files with 3 additions and 3 deletions
6
main.py
6
main.py
|
|
@ -92,7 +92,7 @@ def main():
|
||||||
for key in pages.keys():
|
for key in pages.keys():
|
||||||
testedLinks += pages[key] + [key]
|
testedLinks += pages[key] + [key]
|
||||||
testedLinks = list(set(testedLinks))
|
testedLinks = list(set(testedLinks))
|
||||||
print(f"Tested {len(testedLinks)} links.\n")
|
print(f"Tested {len(testedLinks)} links.")
|
||||||
|
|
||||||
count = 0
|
count = 0
|
||||||
for link in pages.keys():
|
for link in pages.keys():
|
||||||
|
|
@ -106,7 +106,7 @@ def main():
|
||||||
if href == link:
|
if href == link:
|
||||||
found.append(search_link)
|
found.append(search_link)
|
||||||
|
|
||||||
print(''.join(['='] * 100))
|
print('\n', ''.join(['='] * 100))
|
||||||
print(link, pages[link].status, pages[link].reason)
|
print(link, pages[link].status, pages[link].reason)
|
||||||
print(''.join(['-'] * 100))
|
print(''.join(['-'] * 100))
|
||||||
print("Found in:")
|
print("Found in:")
|
||||||
|
|
@ -114,7 +114,7 @@ def main():
|
||||||
for href in found:
|
for href in found:
|
||||||
print(href)
|
print(href)
|
||||||
|
|
||||||
print(''.join(['='] * 100), "\n")
|
print(''.join(['='] * 100))
|
||||||
|
|
||||||
print("Done.")
|
print("Done.")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue