Skip to content

Instantly share code, notes, and snippets.

@jaymecd
Forked from kaspergrubbe/youtube_get.sh
Created October 15, 2013 22:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaymecd/6999646 to your computer and use it in GitHub Desktop.
Save jaymecd/6999646 to your computer and use it in GitHub Desktop.
# brew install youtube-dl
function youtube_music
{
$(youtube-dl -f 37/22/18 "$1" --extract-audio --audio-format mp3 | tee /dev/tty)
}
function youtube_video
{
$(youtube-dl -f 37/22/18 "$1" | tee /dev/tty)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment