Skip to content

Bulk asynchronous downloader for multiple file hosts

refactor: move Unsupported URLs to their own category

NTFSvolume9ca82594560b
diff --git a/cyberdrop_dl/managers/progress_manager.py b/cyberdrop_dl/managers/progress_manager.py
index 110c1c3bf..15e401478 100644
--- a/cyberdrop_dl/managers/progress_manager.py
+++ b/cyberdrop_dl/managers/progress_manager.py
@@ -69,10 +69,13 @@ class ProgressManager:
await log_with_color(f"Downloaded {self.download_progress.completed_files} files", "green", 20)
await log_with_color(f"Previously Downloaded {self.download_progress.previously_completed_files} files",
"yellow", 20)
-
await log_with_color(f"Skipped By Config {self.download_progress.skipped_files} files", "yellow", 20)
await log_with_color(f"Failed {self.download_stats_progress.failed_files} files", "red", 20)
+ await log_with_color("\nUnsupported URLs Stats:", "cyan", 20)
+ await log_with_color(f"Sent to Jdownloader: {self.scrape_stats_progress.sent_to_jdownloader}", "yellow", 20)
+ await log_with_color(f"Skipped: {self.scrape_stats_progress.unsupported_urls_skipped}", "yellow", 20)
+
await log_with_color("\nDupe Stats:", "cyan", 20)
await log_with_color(f"Previously Hashed {self.hash_progress.prev_hashed_files} files", "yellow", 20)
await log_with_color(f"Newly Hashed {self.hash_progress.hashed_files} files", "yellow", 20)
@@ -88,9 +91,6 @@ class ProgressManager:
scrape_failures = await self.scrape_stats_progress.return_totals()
await log_with_color("\nScrape Failures:", "cyan", 20)
- await log_with_color(f"Unsupported URLs, Sent to Jdownloader: {self.scrape_stats_progress.sent_to_jdownloader}", "yellow", 20)
- await log_with_color(f"Unsupported URLs, Skipped: {self.scrape_stats_progress.unsupported_urls_skipped}", "yellow", 20)
- await log_with_color(f"Unsupported URLs, Total: {self.scrape_stats_progress.unsupported_urls}", "yellow", 20)
for key, value in scrape_failures.items():
await log_with_color(f"Scrape Failures ({key}): {value}", "red", 20)