This project has been archived by its maintainers, and is no longer receiving any updates.
🎵 ytp2mp3
ytp2mp3 is a Python-based command-line tool that downloads a YouTube playlist and merges all audio tracks into a single .mp3 file.
Enjoy listening to your favorite playlists as one contiguous audio file, and skip advertisements.
🚀 Features
- Downloads entire YouTube playlists
- Extracts audio only
- Merges all tracks into one
.mp3file - Cross-platform (Windows, macOS, Linux)
- Built with
yt-dlp,pydub, andffmpeg
📦 Installation
Installation of Python is required. You can install the tool from PyPI
pip install ytp2mp3
⚠️ ffmpeg is required — see below.
Usage
| Option | Description |
|---|---|
url (positional) |
The YouTube playlist URL |
-o, --output |
Name of the output .mp3 file (default: combined.mp3) |
-f, --force |
Whether to skip or abort on failed video downloads |
🔧 System Requirement: ffmpeg
pydub requires ffmpeg to process audio streams.
macOS
brew install ffmpeg
Ubuntu / Debian
sudo apt install ffmpeg
Windows
Download from ffmpeg.org
Add the bin/ folder to your system PATH
Metadata
Release files for ytp2mp3 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ytp2mp3-0.2.0.tar.gz | 4.9 kB | Without provenance | Details for ytp2mp3-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ytp2mp3-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for ytp2mp3-0.2.0-py3-none-any.whl |
Total release size: 10.7 kB
Release files / ytp2mp3-0.2.0.tar.gz
| Download URL | ytp2mp3-0.2.0.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
471607d31a37d4a86bfe38e8df31242b1a376d3927d3c59a1b567ec3e4c1f647
|
|
BLAKE2b-256 checksum How to use checksums |
0df61f153f57f10b5425e2b0a4829e6a1d763ab8bfbf0a79b7b7b43e98ff4c6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / ytp2mp3-0.2.0-py3-none-any.whl
| Download URL | ytp2mp3-0.2.0-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7b8c442d4f425ccc848a344131d48b3e71df9066848b6f6ad3283b845cdb5fab
|
|
BLAKE2b-256 checksum How to use checksums |
1d003610e26824c650d892b62d5b32cdf813dc11de1a8b7f6d18c2138e1759ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for ytp2mp3 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.