mirror of
https://github.com/XiaoMengXinX/spotdl.git
synced 2026-04-27 08:25:57 +03:00
A simple Go library / CLI app for downloading songs/podcasts from Spotify.
| cmd/spotdl | ||
| config | ||
| injector | ||
| logger | ||
| playplay | ||
| spotify | ||
| token | ||
| .gitattributes | ||
| .gitignore | ||
| go.mod | ||
| LICENSE | ||
| README.md | ||
Spot-DL
A simple downloader for downloading spotify songs/products with metadata.
Credits:
Installation
go install github.com/XiaoMengXinX/spotdl/cmd/spotdl@latest
For macOS, you may need to codesign the binary file:
sudo codesign --force --deep --sign - ~/go/bin/spotdl
Usage
Usage of spotdl:
-c, --config string Path to configuration file (default "config.json")
-d, --debug Debug mode
-h, --help Show this help message
-i, --id string ID/URL/URI of a spotify track/playlist/album/podcast to download (Required)
Example: -i https://open.spotify.com/track/4jTrKMoc44RYZsoFsIlQev
--mp3 Convert downloaded files to mp3 format
--no-metadata Skip adding metadata to downloaded files
-o, --output string Output directory for downloaded files (default "./output")
-q, --quality string Audio quality level. (default "MP4_128")
Options: MP4_128, MP4_256
Notice
-
A
.vwdfile is required in the./cdmdirectory for mp4 decryption. Detailed instructions can be found in: https://github.com/hyugogirubato/KeyDive. -
Get the
sp_dccookie value from your browser and enter to the cli at first run.