diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-21 19:48:41 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-21 19:48:41 +0200 |
commit | 269cf79c5e25b6b3440ad11dee4b0662cdc74221 (patch) | |
tree | fff306e1fd44c64dadd8733c76cb0748610ebad9 /yt_dlp/src | |
parent | build(flake): Wrap the yt binary with the required dependencies (diff) | |
download | yt-269cf79c5e25b6b3440ad11dee4b0662cdc74221.tar.gz yt-269cf79c5e25b6b3440ad11dee4b0662cdc74221.zip |
docs(yt_dlp/lib): Improve some comments
Diffstat (limited to '')
-rw-r--r-- | yt_dlp/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/src/lib.rs b/yt_dlp/src/lib.rs index 5bb02c1..27f1a58 100644 --- a/yt_dlp/src/lib.rs +++ b/yt_dlp/src/lib.rs @@ -331,8 +331,8 @@ pub async fn download( info!("Started downloading url: '{}'", url); let info_json = extract_info(download_options, url, true, true).await?; + // Try to work around yt-dlp type weirdness let result_string = if let Some(filename) = info_json.filename { - // Try to work around yt-dlp type weirdness filename } else { (&info_json.requested_downloads.expect("This must exist")[0].filename).to_owned() |