4 stable releases
1.1.0 | Jan 7, 2024 |
---|---|
1.0.2 | Jan 6, 2024 |
0.0.3 |
|
#72 in #spotify
48 downloads per month
28KB
72 lines
spot_dwl
A music downloader from youtube using spotify
I
Spotify premium is required
II
Install libnotify, pip, ffmpeg, on your system.
III
sudo pip3 install spotdl
IV
spotdl --download-ffmpeg
V
spotdl --generate-config
Config
The config file is located ~/.spotdl/config.json under linux.
{
"client_id": "5f573c9620494bae87890c0f08a60293",
"client_secret": "212476d9b0f3472eaa762d90b19b0ba8",
"auth_token": null,
"user_auth": false,
"headless": false,
"cache_path": "/Users/username/.spotdl/.spotipy",
"no_cache": false,
"max_retries": 3,
"audio_providers": [
"youtube-music"
],
"lyrics_providers": [
"genius",
"azlyrics",
"musixmatch"
],
"playlist_numbering": false,
"scan_for_songs": false,
"m3u": null,
"output": "{artists} - {title}.{output-ext}",
"overwrite": "skip",
"search_query": null,
"ffmpeg": "ffmpeg",
"bitrate": null,
"ffmpeg_args": null,
"format": "mp3",
"save_file": null,
"filter_results": true,
"threads": 4,
"cookie_file": null,
"restrict": false,
"print_errors": false,
"sponsor_block": false,
"preload": false,
"archive": null,
"load_config": true,
"log_level": "INFO",
"simple_tui": false,
"fetch_albums": false,
"id3_separator": "/",
"ytm_data": false,
"add_unavailable": false,
"web_use_output_dir": false,
"port": 8800,
"host": "localhost",
"keep_alive": false,
"allowed_origins": null,
"keep_sessions": false
}
Installation
cargo install spot_dwl
Usage
spot_dwl "song-url" "song url" ...
All song url start with https://open.spotify.com
Dependencies
~15KB