youtube-dl

This commit is contained in:
qo-op 2020-05-03 01:00:38 +02:00
parent 29fd90ea88
commit ed02c53f64
1 changed files with 19 additions and 0 deletions

View File

@ -82,6 +82,25 @@ if [[ ! $(which sbotc) ]]; then
cd ~/.zen/astroport
fi
# INSTALL youtube-dl
echo '
__ __ ____
__ ______ __ __/ /___ __/ /_ ___ ____/ / /
/ / / / __ \/ / / / __/ / / / __ \/ _ \______/ __ / /
/ /_/ / /_/ / /_/ / /_/ /_/ / /_/ / __/_____/ /_/ / /
\__, /\____/\__,_/\__/\__,_/_.___/\___/ \__,_/_/
/____/
youtube-dl Swarm audio and video source...
'
if [[ ! $(which youtube-dl) ]]; then
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl || exit 1
sudo chmod a+rx /usr/local/bin/youtube-dl
sudo chown $USER /usr/local/bin/youtube-dl
fi
echo '
__ __