From cedffd59dd4047908a87e7c52ae5a9d5876a8b15 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 25 Aug 2024 15:46:09 +0200 Subject: fix(yt_dlp/info_json): Accept further missing fields in the info_json --- crates/yt_dlp/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/yt_dlp/src/lib.rs') diff --git a/crates/yt_dlp/src/lib.rs b/crates/yt_dlp/src/lib.rs index d9b10c2..7e11600 100644 --- a/crates/yt_dlp/src/lib.rs +++ b/crates/yt_dlp/src/lib.rs @@ -172,7 +172,7 @@ pub fn progress_hook<'a>(py: Python, input: Bound<'_, PyDict>) -> PyResult<()> { "vtt" => { format!( "Subtitles ({})", - get! {is_string, as_str, "info_dict", "name"} + default_get! {as_str, "", "info_dict", "name"} ) } title_extension @ ("webm" | "mp4" | "m4a") => { -- cgit 1.4.1