Skip to content

This Python script downloads audio files from YouTube for a given Spotify playlist using the Spotify API and YouTube. It handles any exceptions that occur and saves the audio files to a newly created folder for the playlist.

Notifications You must be signed in to change notification settings

surenjanath/Spotify-Playlist-Download

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 

Repository files navigation

Spotify-Playlist-Download

Last Tested : 19 November 2023

Want to try the program instead of the code ?

See here : https://github.com/surenjanath/Spotify-Song-Downloader-PyQt5

Code Works in Google Colab : https://colab.research.google.com/drive/1TqH86MtrxkmQpiJAg2W5mlSTjvkOTspu?usp=sharing

New Update : 19 November 2023

v1.4.0

  • API partially fixed.

Last Update : 19 October 2023

v1.3.0

  • API broken ( fixed with new api ) Please note this just a personal project. Showing off my webscraping skills :)

Updated : 17 September 2023

v1.2.0

  • Converted code to object class instead.
  • Added the functionality to add in the metadata into the mp3 file name that includes the cover page if available
  • Added a self check for needed libraries instead of User installing it manually
  • Added a Play Btn using IPYTHON WIDGETS

Updated : 02 April 2023

v1.1.3

  • Added a fix for error links and updated API call links
  • Added a functionality for new Playlists Name as Directory Name.

Updated : 08 March 2023

v1.1.2

  • Added error handling for songs that does not return any links which will cause code to continue on
  • Added offsetting songs, now you can change the OFFSET_VARIABLE to any songs that was missed

How To Use

YOUTUBE VIDEO : https://youtu.be/1wGU652jF9g

To clone and run this application, you'll need python From your command line:

# Clone this repository if you have git or just download code.

$ git clone https://github.com/surenjanath/Spotify-Playlist-Download.git

# Install requests if you already don't have it.
$ pip install requests

You can find the medium articles here :

  1. Automate Downloading Bulk Spotify Playlist [ ARTICLE ]

ToC

Please use it to download Copyright Free Music on Spotify
For example : https://open.spotify.com/playlist/3fQ6EJdy6n1kF4Yw5bTAVx?si=2f26056713504154

License

MIT


GitHub @surenjanath  ·  Twitter @surenjanath

PS : CREATED TO DOWNLOAD COPYRIGHT FREE MUSIC

About

This Python script downloads audio files from YouTube for a given Spotify playlist using the Spotify API and YouTube. It handles any exceptions that occur and saves the audio files to a newly created folder for the playlist.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published