Print total amt of found urls

This commit is contained in:
Peter Vacho 2024-11-24 19:46:45 +01:00
parent 726b60eb82
commit 299350a90a
Signed by: school
GPG key ID: 8CFC3837052871B4

View file

@ -33,6 +33,9 @@ async def main() -> None:
took = perf_counter() - start took = perf_counter() - start
print(f"Took: {round(took, 2)} seconds") print(f"Took: {round(took, 2)} seconds")
total = len({url for urls in url_map.values() for url in urls}.union(set(url_map.keys())))
print(f"Found {total} unique URLs")
print("Ranking...") print("Ranking...")
start = perf_counter() start = perf_counter()