Spotify Playlist Downloader

21 Dec 2017 Projects python spotify download youtube-dl Hits

A Python script to download a Spotify playlist to MP3 using YouTube as audio source. The MP3s are tagged and given album art using Spotify

Find the project on GitHub here

Stars Forks

What is this?

This project takes a Spotify playlist uri and will download it's contents by sourcing audio from YouTube and tags/art from Spotify. YouTube videos for audio are found automatically.

Demonstration and Screenshots

Console example

This is a console application, simply paste the uri and press enter.


  • Python (tested with 3.5)
  • ffmpeg (described in installation steps 5 and 6)


  1. Clone this repository. git clone
  2. cd into the project. cd spotify-playlist-downloader
  3. Install the requirements. pip install requirements.txt
  4. Go to and create an app to get a client_id and client_secret key pair
  5. Put these keys in settings.json
  6. Go to and download ffmpeg.
  7. Extract the files from the zip and copy ffmpeg.exe, ffplay.exe and ffprobe.exe from the /bin folder to the location of (you can also put these in a location that is reference by the PATH variable if you wish)


  1. Get the URI of a Spotify playlist by clicking the three dots at the top to show then menu and click share. In this sub-menu, click "Copy Spotify URI"; this will copy the URI to your clipboard.
  2. Run and insert your Spotify URI, then hit enter.
  3. Files will be saved to /output/ in the current working directory.