0.0.2 • Published 9 years ago
node-youtube-dl v0.0.2
Node-Youtube-DL
Node-Youtube-DL is a youtube-dl downloader interface for Node. It works with streams so you can pipe the output in an HTTP connection or a FileSystem or a stream of your choice.
Hello World
Node
let YTDL = require('node-youtube-dl')
YTDL.download('nkqVm5aiC28', '140').then(function(Stream){
Stream.pipe(FS.createWriteStream('/tmp/song'))
}).catch(function(){
console.log(arguments[0])
})
API
class YTDL{
static download(ID, Quality)
}
License
This project is licensed under the terms of MIT License. See the License file for more info.