20 lines
497 B
Markdown
20 lines
497 B
Markdown
# spotify-dl
|
|
|
|
A command-line wrapper of `librespot-js`.
|
|
|
|
## Installation
|
|
|
|
```
|
|
npm install -g git+https://git.gay/h/spotify-dl
|
|
```
|
|
|
|
Make a file at `$XDG_CONFIG_HOME/spotify-dl.conf` to specify your login credentials for Spotify, and the path to download music to.
|
|
|
|
```
|
|
SPOTIFY_USERNAME=example@example.com
|
|
SPOTIFY_PASSWORD=password123
|
|
DL_PATH="/home/hazy/Music/%album_artist/%album_title/%artist - %title.%ext"
|
|
```
|
|
|
|
then, simply run `spotify-dl <a Spotify URL>` to download something from Spotify!
|