This is a basic step-by-step guide for using the YouTube Playlist Music Downloader Python script.
Before running the program, make sure you have:
- Python 3.8+ installed
- ffmpeg installed and added to your PATH
- On Windows: you can install via
winget install Gyan.FFmpeg
- On Windows: you can install via
- yt-dlp installed
pip install yt-dlp
- Download or save the Python file (e.g.
ytdl.py). - Right-click the file and choose “Open with IDLE”.
- In IDLE, click Run → Run Module (F5) to start the downloader.
- The script asks for a YouTube playlist link.
- You can choose the audio format (e.g., MP3 or M4A).
- It will automatically download all songs in that playlist to a
downloadsfolder.
- All downloaded songs are saved in the folder:
downloads/ - File names include artist and title (if available).
- If you get an error saying
ffmpeg not found, make sure it’s installed and added to your PATH. - You can edit the script in IDLE anytime to change defaults like quality or output folder.
That’s it! Open ytdl.py in IDLE, press F5, and enjoy automatic music downloads 🎧