pintcat

do-youtube v1.1

Sep 13th, 2020
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.29 KB | None | 0 0
  1. cd ~/ubin
  2.  
  3. if ! wget https://yt-dl.org/downloads/latest/youtube-dl --backups=1; then
  4.     echo -e "\n\033[0;31mCertificate invalid. Moving on with less secure connection.\033[0m\n"
  5.     wget https://yt-dl.org/downloads/latest/youtube-dl --no-check-certificate --backups=1
  6. fi
  7. chmod a+xr youtube-dl
  8.  
Add Comment
Please, Sign In to add comment