Skip to content

Spotify Playlist to MP3 Downloader: Download entire Spotify playlists as MP3 files with multi-threaded support, allowing multiple songs to download simultaneously. Customize the number of threads to speed up downloads for large playlists. MP3 files include proper metadata (title, artist, album) for easy organization.

License

Notifications You must be signed in to change notification settings

HaleyACS/SpotifyDowloader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This program enables you to download entire Spotify playlists as MP3 files quickly and efficiently.

Features

  • Multi-threaded Downloads: Download multiple songs simultaneously by configuring the number of threads, speeding up the process for large playlists.
  • Customizable Threads: Adjust the number of concurrent downloads based on your system's resources.
  • Metadata Support: Each MP3 file is saved with proper metadata (title, artist, album, etc.) for better organization.

Requirements

  • Spotify API credentials (Client ID and Client Secret). https://developer.spotify.com/
  • Internet connection.
  • Required dependencies (detailed in the setup instructions below).

Dependencies

The following Python libraries are required to run this program:

  • spotipy
  • yt-dlp
  • mutagen
  • ffmpeg-python
  • python-dotenv

Installing Dependencies

Run the following command to install the required libraries:

pip install -r requirements.txt

Additional Tool

FFmpeg: Required for processing and converting audio files:
On macOs (using Homebrew)

brew install ffmpeg

On Linux (Debian/Ubuntu):

sudo apt update
sudo apt install ffmpeg

On Windows:

  • Download the FFmpeg executable from the official site: https://ffmpeg.org/download.html.
  • Add FFmpeg to your system's PATH environment variable (refer to the official guide for instructions).

Usage

  1. Clone this repository.
  2. Configure Client Id, Client Secret, and Max Threads in .env file: Create a .env file in the same directory as your script and add the following variables
CLIENT_ID="your_spotify_client_id"
CLIENT_SECRET="your_spotify_client_secret"
MAX_THREADS=14  # Number of simultaneous downloads (adjust based on your PC's capability)
  1. Run the program and enjoy your MP3 downloads!

About

Spotify Playlist to MP3 Downloader: Download entire Spotify playlists as MP3 files with multi-threaded support, allowing multiple songs to download simultaneously. Customize the number of threads to speed up downloads for large playlists. MP3 files include proper metadata (title, artist, album) for easy organization.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 89.9%
  • Dockerfile 10.1%