Download you favorite playlist from youtube with this simple script. You can download the playlist in mp3 or mp4 format.
⚠ You must use this module respecting the YouTube's Copyright Policies.
1- Clone this repo
2- Change your youtube playlist url in src/index.ts file
3- Run the command
yarn && yarn devYou can use this project in your project as a module.
yarn add youtube-plimport { Playlist } from "youtube-pl";
const playlistDownload = new Playlist(
"YOUR PLAYLIST SLUG HERE",
"mp4",
"downloads"
);
playlistDownload.startPlaylistDownload();1- Change your youtube playlist url in src/configs/index.ts file
2- Run the step 3 of the Installation section
3- You can find your files in the downloads folder
You can change the settings in the src/configs/index.ts file
Copyright MIT.
- Eomm
