Préparation de la migration de youtube-dl vers yt-dlp

This commit is contained in:
Benjamin VAUDOUR 2021-10-24 19:43:24 +02:00
parent 1a82caec13
commit 007fea7c63
1 changed files with 15 additions and 2 deletions

View File

@ -1,3 +1,16 @@
edit:add-var youtube-dl~ [@argv]{ e:youtube-dl --no-check-certificate $@argv }
edit:add-var youtube-audio~ [@argv]{ e:youtube-dl --no-check-certificate -x --audio-format best $@argv }
var cmd = $e:yt-dlp~
#var cmd = $e:youtube-dl~
fn -dl [@argv]{
$cmd --no-check-certificate $@argv
}
fn -audio [@argv]{
-dl -x --audio-format best $@argv
}
edit:add-var youtube-dl~ [@argv]{ -dl $@argv }
edit:add-var youtube-audio~ [@argv]{ -audio $@argv }
edit:add-var yt-dl~ [@argv]{ -dl $@argv }
edit:add-var yt-audio~ [@argv]{ -audio $@argv }