install try wget then pip

This commit is contained in:
qo-op 2021-07-20 19:37:11 +02:00
parent 3bd360d736
commit a1bb173ed9
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
if [[ $(which youtube-dl) ]]; then
sudo apt-get remove youtube-dl
fi
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl || exit 1
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl || sudo pip install --upgrade youtube-dl || (echo "error installing youtube-dl" && exit 1)
sudo chmod a+rx /usr/local/bin/youtube-dl
sudo chown $USER /usr/local/bin/youtube-dl