[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

View file

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