aboutsummaryrefslogtreecommitdiff
path: root/youtube-dl.sh
blob: d75a5805c13fa97623f976faf6cf3d9f4c735dc5 (plain)
1
2
3
4
5
#!/bin/sh
youtube-dl --add-metadata \
	--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" "$@"