17 lines
354 B
Plaintext
17 lines
354 B
Plaintext
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 }
|
|
|