Skip to content

A command-line utility to download songs and playlists directly from Spotify's servers

License

Notifications You must be signed in to change notification settings

nyvs/spotify-dl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spotify-dl

A command line utility to download songs, podcasts, playlists and albums directly from Spotify's servers.

You need a Spotify Premium account.

Dependencies

spotify-dl depends on libflac

Debian-based distros

sudo apt install libflac-dev libasound2-dev

Red Hat-based distros

sudo dnf install flac-devel alsa-lib-devel

MacOSX

brew install flac

Usage

spotify-dl 0.1.1
A commandline utility to download music directly from Spotify

USAGE:
    spotify-dl [FLAGS] [OPTIONS] --username <username> [tracks]...

FLAGS:
    -h, --help       Prints help information
    -o, --ordered    Prefixing the filename with its index in the playlist
    -V, --version    Prints version information

OPTIONS:
    -c, --compression <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 <destination>    The directory where the songs will be downloaded [default: .]
    -p, --password <password>          Your Spotify password
    -u, --username <username>          Your Spotify username

ARGS:
    <tracks>...    A list of Spotify URIs (songs, podcasts or playlists)```

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 lic:ewensed under the MIT license. See [LICENSE](LICENSE).

About

A command-line utility to download songs and playlists directly from Spotify's servers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%