Fix ytdl scripts to have a proper fallback
parent
062bdde40a
commit
850402e552
@ -1,3 +1,8 @@
|
||||
|
||||
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
|
||||
yt-dlp --yes-playlist -N 8 --playlist-reverse --embed-metadata --sponsorblock-mark sponsor -f "bv[vcodec~='av01\\..*']+ba / bv+ba" -o "%(uploader)s - %(title)s - %(id)s.%(ext)s" $url
|
||||
}
|
||||
|
||||
export def `ytdl playlist 1080p` [url: string] {
|
||||
yt-dlp --yes-playlist -N 8 --playlist-reverse --embed-metadata --sponsorblock-mark sponsor -f "bv[height=1080][vcodec~='av01\\..*']+ba / bv[height=1080]+ba" -o "%(uploader)s - %(title)s - %(id)s.%(ext)s" $url
|
||||
}
|
||||
|
Loading…
Reference in New Issue