song-dl

1.0.8 • Public • Published

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" -outputfile.mp3 -<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');
    }
});

/song-dl/

    Package Sidebar

    Install

    npm i song-dl

    Weekly Downloads

    7

    Version

    1.0.8

    License

    ISC

    Last publish

    Collaborators

    • mathisonian