Motivation
This one is working.s
Credits
- ytdl-core
- async (for workflow)
- ffmpeg-fluent (for audio transcoding)
Command line usage
//download all audio file in playlist
//https://youtube.com/playlist/PL8BFA7E713C650560
node main.js PL8BFA7E713C650560
API
var PLD = require('youtube-playlist-download');
//usage node dl.js [playlist_id]
//e.g. node dl.js PL8BFA7E713C650560
var output_dir = "dl",
playlist_id = process.argv[2];
var pld = new PLD(playlist_id, output_dir);
pld.download(function(){
console.log("All done, have a great day !");
});