[yt-dlp-functions] Only English subs, and remove "no-subs" variation

This commit is contained in:
Midgard 2022-10-07 16:25:57 +02:00
parent ac7878b1da
commit 5ab985c9d0
Signed by untrusted user who does not match committer: midgard
GPG Key ID: 511C112F1331BBB4
1 changed files with 4 additions and 8 deletions

View File

@ -1,21 +1,17 @@
ytdns() { # yt download no-subs
ytd() { # yt download
yt-dlp \
--merge-output-format mkv --embed-chapters \
--all-subs --embed-subs \
--format="((248/bestvideo[height<=1080])+(251/bestaudio))/best" \
"$@"
}
ytd() { # yt download
ytdns --all-subs --embed-subs "$@"
}
ytdbns() { # yt download best no-subs
ytdb() { # yt download best
yt-dlp \
--merge-output-format mkv --embed-chapters \
--all-subs --embed-subs \
--format="(bestvideo+bestaudio)/best" \
"$@"
}
ytdb() { # yt download best
ytdbns --all-subs --embed-subs "$@"
}
ytda() { # yt download audio
yt-dlp --extract-audio --format="bestaudio" "$@"
}