1.0.0 • Published 9 years ago

youtube-playlist-download v1.0.0

Weekly downloads
1
License
ISC
Repository
-
Last release
9 years ago

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 !");
});