Crates.io | spot_dwl |
lib.rs | spot_dwl |
version | 1.1.0 |
source | src |
created_at | 2023-04-14 15:20:44.890739 |
updated_at | 2024-01-07 12:53:18.698027 |
description | A simple helper to download songs from spotify using spotdl |
homepage | |
repository | https://github.com/taishingi/spot_dwl.git |
max_upload_size | |
id | 839230 |
size | 52,227 |
A music downloader from youtube using spotify
Spotify premium is required
Install libnotify, pip, ffmpeg, on your system.
sudo pip3 install spotdl
spotdl --download-ffmpeg
spotdl --generate-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
}
cargo install spot_dwl
spot_dwl "song-url" "song url" ...
All song url start with https://open.spotify.com