song-dl
v1.0.8
Published
Command line utility to download a song
Downloads
6
Maintainers
Readme
song-dl
download the best matching song from youtube
NOTE - requires ffmpeg
(on osx install with brew install ffmpeg
)
usage
command line
$ npm intall -g song-dl
$ sdl "song name and artist" -o outputfile.mp3 -k <YOUTUBE API KEY>
$ open outputfile.mp3
node
var sdl = require('song-dl');
sdl('songname and artist', 'output filename', 'youtube apikey', function(err) {
if(!err) {
console.log('download success');
}
});