Skip to content

Instantly share code, notes, and snippets.

@ekiara
Created April 18, 2014 03:32
Show Gist options
  • Save ekiara/11023612 to your computer and use it in GitHub Desktop.
Save ekiara/11023612 to your computer and use it in GitHub Desktop.
Youtube DL
mkdir ytdl
cd ytdl/
curl https://yt-dl.org/downloads/{LATEST_VERSION}/youtube-dl -o ytdl
chmod a+x ./ytdl
echo \#\!/bin/bash >> tube
echo ytdl --max-quality MP4 \$1 >> tube
chmod a+x ./tube
mkdir ytdl
cd ytdl/
curl https://yt-dl.org/downloads/2014.04.13/youtube-dl -o ytdl
chmod a+x ./ytdl
echo \#\!/bin/bash >> tube
echo ytdl --max-quality MP4 \$1 >> tube
chmod a+x ./tube
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment