update flake

This commit is contained in:
Yan Lin 2025-11-20 20:31:22 +01:00
parent 9beca0e952
commit c52125dd10
2 changed files with 28 additions and 21 deletions

View file

@ -32,6 +32,7 @@ in
cfg.package
deno # Required for YouTube downloads due to JS challenges
ffmpeg
python312Packages.bgutil-ytdlp-pot-provider # PO token provider for YouTube
];
# Cookie files - managed by Nix (read-only)
@ -110,6 +111,12 @@ in
# Audio normalization post-processing
--exec after_move:~/.config/yt-dlp/normalize-audio.sh
# Remote components for JavaScript challenge solving (required for YouTube)
--remote-components ejs:npm
# Extractor arguments for format handling
--extractor-args "youtube:formats=missing_pot"
# User agent
--user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
'';