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