https://github.com/guillemcastro/spotify-dl
A command-line utility to download songs and playlists directly from Spotify's servers
https://github.com/guillemcastro/spotify-dl
download-playlists download-songs flac mp3 music playlist songs spotify spotify-dl yt-dlp
Last synced: 6 months ago
JSON representation
A command-line utility to download songs and playlists directly from Spotify's servers
- Host: GitHub
- URL: https://github.com/guillemcastro/spotify-dl
- Owner: GuillemCastro
- License: mit
- Created: 2020-10-22T22:12:04.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-17T18:02:59.000Z (over 1 year ago)
- Last Synced: 2025-03-31T14:09:19.463Z (6 months ago)
- Topics: download-playlists, download-songs, flac, mp3, music, playlist, songs, spotify, spotify-dl, yt-dlp
- Language: Rust
- Homepage:
- Size: 281 KB
- Stars: 119
- Watchers: 7
- Forks: 17
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# spotify-dl
A command line utility to download songs, podcasts, playlists and albums directly from Spotify's servers.
You need a Spotify Premium account.
## Installation
You can install it using `cargo`, `homebrew` or from source.
### Using `cargo`
```
cargo install spotify-dl
```### Using homebrew
```
brew tap guillemcastro/spotify-dl
brew install spotify-dl
```### From source
```
git clone https://github.com/GuillemCastro/spotify-dl.git
cd spotify-dl
cargo build --release
cargo install --path .
```## Usage
```
spotify-dl 0.2.0
A commandline utility to download music directly from SpotifyUSAGE:
spotify-dl [OPTIONS] ... --usernameFLAGS:
-h, --help Prints help information
-V, --version Prints version informationOPTIONS:
-c, --compression Setting the flac compression level from 0 (fastest, least compression) to
8 (slowest, most compression). A value larger than 8 will be Treated as 8.
Default is 4.
-d, --destination The directory where the songs will be downloaded
-t, --parallel Number of parallel downloads. Default is 5. [default: 5]
-p, --password Your Spotify password
-u, --username Your Spotify usernameARGS:
... A list of Spotify URIs or URLs (songs, podcasts, playlists or albums)
```Songs, playlists and albums must be passed as Spotify URIs or URLs (e.g. `spotify:track:123456789abcdefghABCDEF` for songs and `spotify:playlist:123456789abcdefghABCDEF` for playlists or `https://open.spotify.com/playlist/123456789abcdefghABCDEF?si=1234567890`).
## Disclaimer
The usage of this software may infringe Spotify's ToS and/or your local legislation. Use it under your own risk.
## License
spotify-dl is licensed under the MIT license. See [LICENSE](LICENSE).