A dependency-free Spotify playlist downloader that should just work
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
getplaylist
.travis.yml Fix (#2) Feb 12, 2019
README.md
go.mod
go.sum
goreleaser.yml add goreleaser Jan 17, 2019
main.go
main_test.go

README.md

spotifydownload
Build Status Coverage Version

Automatically download your Spotify playlists.

spotifydownload is an open-source tool that makes it easy to download your Spotify playlists, using getsong to find the corect song and download it and convert it to an mp3.

Example

Unlike other downloaders, there are no dependencies (other than ffmpeg which will automatically be installed onto your system when running the first time).

Disclaimer: Downloading copyright songs may be illegal in your country. This tool is for educational purposes only and was created only to show how Spotify's API can be used to download music from YouTube. Please support the artists by buying their music.

Install

Get the latest release or install with go get:

go get github.com/schollz/spotifydownload

Usage

To run simply do

$ spotifydownload

and you'll be prompted with instructions to get the Spotify URL link. To get the Spotify URL link you can right click on the playlist. If you are using the Desktop client, then you'll see a button "Shared > 🔗 Copy Playlist Link", or in the Web browser you'll see "Copy Playlist Link". Clicking that will copy the Spotify Playlist link to the clipboard.

If you already know your playlist URL you can enter it:

$ spotifydownload -playlist PLAYLIST_URL

Now you can easily schedule this to run using crontab, just edit it with crontab -e and add the line:

0 0 * * 0 cd /folder/to/spotifydownload &&  ./spotifydownload --playlist PLAYLIST_URL

which will execute it every 7 days so that you will never lose any songs in your Release Radar or Discover Weekly.

Contributing

Pull requests are welcome. Feel free to...

  • Revise documentation
  • Add new features
  • Fix bugs
  • Suggest improvements

License

MIT