From 299350a90a5d4f4ec849e4e7757665999fcfce64 Mon Sep 17 00:00:00 2001 From: Peter Vacho Date: Sun, 24 Nov 2024 19:46:45 +0100 Subject: [PATCH] Print total amt of found urls --- src/__main__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/__main__.py b/src/__main__.py index 88e4b1c..1e61621 100644 --- a/src/__main__.py +++ b/src/__main__.py @@ -33,6 +33,9 @@ async def main() -> None: took = perf_counter() - start 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...") start = perf_counter()