Pythonify is a powerful, cross-platform tool that allows you to download your favorite tracks and playlists from Spotify as high-quality MP3 files. It uses the Spotify API to fetch track information and YouTube Music to source the audio, ensuring the best possible match and audio quality.
- Download individual Spotify tracks
- Download entire Spotify playlists
- High-quality MP3 conversion (192kbps)
- Cross-platform support (Windows, macOS, Linux)
- Elegant command-line interface with progress bars
- Automatic retries on failed downloads
- Python 3.9 or higher
- FFmpeg installed and accessible from the system PATH
-
Clone this repository:
git clone https://github.com/yukazakiri/pythonify.git cd pythonify
-
Install the required dependencies:
pip install -r requirements.txt
-
Set up your Spotify API credentials:
- Go to the Spotify Developer Dashboard
- Create a new application
- Copy the Client ID and Client Secret
- Replace the placeholders in
pythonify.py
with your credentials:python CLIENT_ID = 'Your Spotify Client ID' CLIENT_SECRET = 'Your Spotify Client Secret'
Run the script using Python:
Create a .env
file in the same directory as the executable with the following content:
SPOTIFY_CLIENT_ID={Your Spotify Client ID}
SPOTIFY_CLIENT_SECRET={Your Spotify Client Secret}