A desktop application to download Spotify playlists as MP3 files using Spotify API and YouTube search.
- Authenticate with Spotify API using Client ID and Client Secret.
- Fetch and display playlist metadata.
- Download audio tracks from YouTube based on Spotify playlist info.
- Multi-threaded downloads with progress bar.
- Select custom FFMPEG executable or use the bundled ffmpeg for audio conversion.
- Simple and clean PyQt6-based user interface.
- Python 3.8+
- PyQt6
- requests
- yt-dlp
- Clone this repository:
git clone https://github.com/TripleA26/Spotify-Downloader.git
cd spotify-playlist-downloader- Install dependencies:
pip install -r requirements.txt-
Download FFMPEG if you want to use a custom executable, or use the internal bundled ffmpeg included with the app.
-
Run the app:
python main.py-
Obtain Spotify API credentials:
- Go to Spotify Developer Dashboard.
- Create an app and get your Client ID and Client Secret.
-
Open the app and enter your Spotify Client ID and Client Secret in the Configuration tab.
-
Set your preferred market code (default is
ES). -
To use a custom ffmpeg executable, uncheck the "Use internal ffmpeg" checkbox and select your ffmpeg binary path. Otherwise, leave the checkbox checked to use the bundled ffmpeg.
-
Switch to the Downloads tab, enter a Spotify playlist URL, and click Start Download.
- If the Playlist URL is empty, the app will alert you to enter a valid URL.
-
Monitor the progress and logs.
-
Downloaded MP3 files will be saved in a folder named after the playlist.
- The app uses YouTube to fetch audio based on Spotify track info, so downloaded tracks depend on YouTube availability.
- Make sure
ffmpegis accessible or provide the full path if not using the bundled one. - Downloading large playlists may take time; progress is limited to 5 concurrent downloads.
This project is licensed under the MIT License.
- Spotify Web API
- yt-dlp
- PyQt6 community
Created by TripleA26 - feel free to reach out! @2a6a on discord