Add ytdl scripts

main
trivernis 11 months ago
parent 86191d41aa
commit 062bdde40a
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -0,0 +1,3 @@
export def `ytdl playlist` [url: string] {
yt-dlp --yes-playlist -N 8 --playlist-reverse --embed-metadata --sponsorblock-mark sponsor -f "bv[height=1080][vcodec~='av01\\..*']+ba / b[height=1080]" -o "%(uploader)s - %(title)s - %(id)s.%(ext)s" $url
}

@ -430,7 +430,10 @@ source ~/.config/nushell/fnm.nu
# broot
source ~/.config/broot/launcher/nushell/br
# ytdl
source ~/.local/share/scripts/ytdl.nu
# utility commands
source ~/.config/nushell/utils.nu
# source ~/.config/nushell/utils.nu
source /home/trivernis/.config/broot/launcher/nushell/br

Loading…
Cancel
Save