Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/santosl2/yt-playlist-mp3
Small project to download Youtube playlists in MP4 and MP3
https://github.com/santosl2/yt-playlist-mp3
ffmpeg nodejs youtube youtube-dl youtube-downloader ytdl ytdl-core
Last synced: 4 months ago
JSON representation
Small project to download Youtube playlists in MP4 and MP3
- Host: GitHub
- URL: https://github.com/santosl2/yt-playlist-mp3
- Owner: Santosl2
- License: mit
- Created: 2022-09-16T13:51:52.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-09T16:45:11.000Z (over 2 years ago)
- Last Synced: 2024-10-15T11:38:53.536Z (4 months ago)
- Topics: ffmpeg, nodejs, youtube, youtube-dl, youtube-downloader, ytdl, ytdl-core
- Language: TypeScript
- Homepage:
- Size: 64.5 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Youtube Playlist Downloader
Download you favorite playlist from youtube with this simple script. You can download the playlist in mp3 or mp4 format.
![Youtube Playlist Downloader](https://imgur.com/b3oN8xh.gif)
⚠ You must use this module respecting the [YouTube's Copyright Policies](https://www.youtube.com/intl/en/about/copyright/#support-and-troubleshooting).
- [Requirements](#Requirements)
- [Installation](#installation)
- [Usage](#usage)
- [Module Usage](#module-usage)# Requirements
- [Node.js](https://nodejs.org/it/download/) >= v10
- [`ffmpeg`](https://www.ffmpeg.org/download.html) installed in your system# Installation
1- Clone this repo
2- Change your youtube playlist url in `src/index.ts` file
3- Run the command
```bash
yarn && yarn dev
```# Module Usage
You can use this project in your project as a module.
```bash
yarn add youtube-pl
```### Example usage
```typescript
import { Playlist } from "youtube-pl";const playlistDownload = new Playlist(
"YOUR PLAYLIST SLUG HERE",
"mp4",
"downloads"
);playlistDownload.startPlaylistDownload();
```# Usage
1- Change your youtube playlist url in `src/configs/index.ts` file
2- Run the step 3 of the [Installation](#installation) section
3- You can find your files in the `downloads` folder
# Settings
You can change the settings in the `src/configs/index.ts` file
# License
Copyright [MIT](./LICENSE).
# Special Thanks
- Eomm