Download a list of MP3 musics from YouTube at command-line.
The yt-mp3
script use this apps and libs:
- cURL
- JSON node CLI tool,
- For that, also Node JS
- And youtube-dl
So, install then on your system before install and run yt-mp3
.
To install yt-mp3
manually, first get the script on your system:
curl -L http://github.com/brendaw/yt-mp3/raw/master/yt-mp3 > yt-mp3
Then make it executable and put it somewhere in your path:
chmod 755 yt-mp3 && mv yt-mp3 ~/.bin/
Coming soon...
Simply pass a file name as a arg, like that:
$ yt-mp3 musics.txt
musics.txt
Little Black Submarines - The Black Keys
True Doesn't Make A Noise - The White Stripes
Love Reconnected - Fire Department Club
And the script will find the first video on youtube with the content of each line, using the Youtube API, and download the mp3 version of then. Simple as that.
See Changelog file for more details about versions changes.
This script is licensed under a MIT license. See LICENSE for more information.
Feel free to send Issues and Pull Requests and help improve yt-mp3 script.