fix(yt): cookies

This commit is contained in:
2025-09-23 11:21:47 +03:00
parent b124a5bdc7
commit 6b7cab4032
3 changed files with 4 additions and 3 deletions

View File

@@ -131,7 +131,7 @@ pub async fn download_ytdlp<P: AsRef<Path>>(
cookies_path: Option<P>,
) -> Result<DownloadResult> {
let format_selector = env::var("YTDLP_FORMAT").unwrap_or_else(|_| "best".into());
info!(format_selector = format_selector, "Video format");
info!(format_selector = format_selector, "video format");
let base_args = [
"--no-playlist",