j
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user