a script to easily download your spotify playlist from youtube
- go to the spotify developer dashboard, create a new app, set the redirect URI as
http://localhost:5000/callback
and paste the client's ID and secret onto the.env
file - download the requirements and clone the repository using
git clone https://github.com/luluwaffless/dspyt.git && cd dspyt
(or download directly from github) - on the repository's terminal, use the command
npm i
- start the script with
npm start
ornode .
- insert your spotify playlist URL, it should have 56 characters and start with
https://open.spotify.com/playlist/
- go to
http://localhost:5000
where you'll be redirected to login with spotify - after that, the playlist will start downloading, if a song does not have a specific match in youtube, you'll be prompted to select one
- just sit back, relax, and wait for the playlist to download, it should be in
/downloaded
afterwards
- warning: this script was made to run on computers and may have problems with downloading!
- download termux
- use the following commands:
pkg update && pkg upgrade
pkg install git
pkg install nodejs
pkg install ffmpeg
pkg install python
- follow the PC steps
- use the following commands to move the playlist from the terminal to the storage's music folder (replace
{PLAYLIST_NAME}
with your actual playlist name):
termux-setup-storage
mv /{PLAYLIST_NAME}/* ~/storage/music/
- use your favorite media player to play your playlist