Spotify downloader (sp-downloader) is a simple command-line tool that can download tracks and playlists from spotify. All you need is a "share link" of the track you want to download to your pc.
- FFMPEG installed on your pc.
- This module globally installed (
npm i -g sp-downloader
)
Open your terminal and go to the directory where you want the song to be downloaded. Then run the command replacing "<link>"
with the actual track/playlist link:
sp <link>
Example:
sp https://open.spotify.com/track/2hRlHXzOf14ArYmOPeAXsa?si=0905aef48cfd4256
Note: if you are trying to download a playlist it will automatically create a new folder with the name of the playlist and the tracks will be inside that folder.