This commit is contained in:
2026-01-21 13:51:17 -08:00
parent a90c772ad9
commit 7a357f45bd
2 changed files with 5 additions and 11 deletions

View File

@@ -1628,13 +1628,13 @@ def download_media(opts: DownloadOptions, *, debug_logger: Optional[DebugLogger]
source_url = entry.get("webpage_url") or entry.get("original_url") or entry.get("url")
if not opts.quiet:
debug(f"✓ Downloaded: {media_path.name} ({len(tags)} tags)")
debug(f"✓ Downloaded: {media_path.name} ({len(tags_res)} tags)")
if debug_logger is not None:
debug_logger.write_record(
"downloaded",
{
"path": str(media_path),
"tag_count": len(tags),
"tag_count": len(tags_res),
"source_url": source_url,
"sha256": hash_value,
},