This is a simple Python application that allows you to download audio from YouTube videos or playlists and save them as MP3 files on your computer.
- Python 3.x
yt-dlp
librarytkinter
libraryffmpeg
(for audio extraction)
-
Install
yt-dlp
:pip install yt-dlp
-
Install
tkinter
(if not already installed):sudo apt-get install python3-tk
-
Install
ffmpeg
:sudo apt-get install ffmpeg
-
Clone this repository or download the script to your local machine.
-
Declare the path where you want to download the MP3 files in
yt-to-mp3.py
. -
Run the script:
python yt-to-mp3.py
-
Enter the YouTube video or playlist URL in the provided input field.
-
Click the "Download" button to start downloading the audio.
This project is licensed under the MIT License.