[yt-dlp-functions] Only English subs, and remove "no-subs" variation
This commit is contained in:
parent
ac7878b1da
commit
5ab985c9d0
1 changed files with 4 additions and 8 deletions
|
@ -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" "$@"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue