Skip to content

Download a Spotify Playlist by finding the corresponding audio on YouTube

Notifications You must be signed in to change notification settings

olim88/Spotify-YTDL

 
 

Repository files navigation

Download your spotify playlists as FLAC or MP3

newsmall

Requires FFMPEG to be installed and added to PATH.

  • Download a Spotify Playlist by finding the corresponding audio on YouTube.
  • Downloads as FLAC or MP3 with correct metadata.
  • Choose Compression Level.

Getting Spotify's API access:

Run main.py to open the GUI. (Your playlist will need to be public)

Limitations and accuracy: The program will get the correct file ~99% of the time. However this can vary depending on if the song is very popular or very niche. I will do an actual test at some point to get a better idea of how accurate it can be.

Method of obtaining the audio (v2.2):

Currently, every search has the word "provided to youtube" appended to the request. The reason for this is due to the way artist's distribute music on platforms. If a YouTube channel looks something like "Artist Name - Topic" then it means it came from the distributing platform that also sent the audio to platforms such as Spotify and Itunes. Music from these channels are the exact same audio file as the ones released on Spotify (still compressed by youtube at 320kbps however), so prioritizing these in the search is a good way of getting the exact audio at a high quality (320kbps is the highest supported by YouTube at the moment).

About

Download a Spotify Playlist by finding the corresponding audio on YouTube

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%