diff --git a/020_youtube-dl.sh b/020_youtube-dl.sh new file mode 100644 index 0000000..60ccd7f --- /dev/null +++ b/020_youtube-dl.sh @@ -0,0 +1,10 @@ +apt-get -y install youtube-dl + + +## https://github.com/rg3/youtube-dl/blob/master/README.md#configuration +# Reduce maximum video quality +echo "-f 'bestvideo[height<=720]+bestaudio/best[height<=720]'" >> /etc/youtube-dl.conf + +echo "-f 'bestvideo[height<=720]+bestaudio/best[height<=720]'" >> ~/.config/youtube-dl/config + +