diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2021-11-03 21:06:58 +0100 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2021-11-03 21:06:58 +0100 |
commit | 99eb846567c8cbac32ea2d26f0567f277241798d (patch) | |
tree | a95679e82b2c336f7f77a6723fa642d195c40ddc | |
parent | 7384ab44dc48f4b0a0dcc09ac5c4a880f2272e53 (diff) | |
download | scripts-99eb846567c8cbac32ea2d26f0567f277241798d.tar.gz scripts-99eb846567c8cbac32ea2d26f0567f277241798d.zip |
yotube-dl.sh: Download at best 1080p and with only es, en, ast and pl subs.
-rwxr-xr-x | youtube-dl.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube-dl.sh b/youtube-dl.sh index 3ba508e..d75a580 100755 --- a/youtube-dl.sh +++ b/youtube-dl.sh @@ -1,4 +1,5 @@ #!/bin/sh youtube-dl --add-metadata \ - --write-auto-sub --all-subs --embed-subs --sub-format "srt/best" \ + --format 'best[height<=1080]/best[width<=1920]/bestvideo[height<=1080]+bestaudio/best' \ + --write-auto-sub --sub-lang 'es,en,ast,pl' --embed-subs --sub-format 'srt/best' \ -o "$HOME/downloads/videos/%(title)s.%(ext)s" "$@" |