A lightweight Python command-line tool to extract and convert audio from YouTube videos into MP3 files using yt-dlp and FFmpeg.
This project started as a learning exercise to practice Python scripting, argument parsing, and working with external command-line utilities — and it turned into a handy little utility that works great for personal use.
This software is provided for personal and educational use only.
Downloading copyrighted material from YouTube without permission may violate YouTube’s Terms of Service or local copyright laws.
Please use this tool responsibly and only for content you have the right to download.
- Downloads best available audio from YouTube
- Converts automatically to MP3 using FFmpeg
- Lets you choose bitrate and output file or directory
- Clear command-line help with examples
- Minimal dependencies and simple to use
Install FFmpeg and yt-dlp:
sudo apt install ffmpeg
pip install yt_dlp