aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xyoutube-dl.sh3
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" "$@"