Il est temps de dire définitivement adieu à youtube-dl

This commit is contained in:
Benjamin VAUDOUR 2023-05-09 11:26:45 +02:00
parent 6cc049dee4
commit 80082dd2af

View File

@ -1,16 +1,13 @@
var cmd = $e:yt-dlp~
#var cmd = $e:youtube-dl~
fn -dl {|@argv|
$cmd --no-check-certificate $@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 }