Created
May 12, 2016 09:25
-
-
Save zipizap/ecbc7000a5e596f8f33b3a222f0ed809 to your computer and use it in GitHub Desktop.
Download from youtube to mp3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# To instal youtube-dl, see https://rg3.github.io/youtube-dl/ | |
# | |
[[ "$1" ]] || { echo "Usage: $0 <YoutubeUrl>"; exit 1; } | |
./youtube-dl --extract-audio --audio-format mp3 --prefer-ffmpeg "$1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment