This commit is contained in:
2026-01-17 02:36:06 -08:00
parent 3a7c443004
commit c6fd6b4224
9 changed files with 440 additions and 226 deletions

View File

@@ -324,7 +324,7 @@ def format_for_table_selection(
This helper formats a single format from list_formats() into the shape
expected by the ResultTable system, ready for user selection and routing
to download-file with -format argument.
to download-file with -query "format:<id>".
Args:
fmt: Format dict from yt-dlp
@@ -403,9 +403,9 @@ def format_for_table_selection(
"format_id": format_id,
"url": url,
"item_selector": selection_format_id,
"_selection_args": ["-format", selection_format_id],
"_selection_args": ["-query", f"format:{selection_format_id}"],
},
"_selection_args": ["-format", selection_format_id],
"_selection_args": ["-query", f"format:{selection_format_id}"],
}