Sobre este archivo
Downloads songs from YouTube in an MP3 format by using Spotify's HTTP link.
Can also download a song by entering its artist and song name (in case if you don't have the Spotify's HTTP link for some song).
Automatically applies metadata to the downloaded song which include:
- Album art
- Lyrics (if found on http://lyrics.wikia.com)
- Album artist
- Track number
- Disc number
- Release date
- And more...
Works straight out of the box and does not require to generate or mess with your API keys (already included).
That's how your music library will look like!
This tool works only with Python 3.
Python 2 compatibility was dropped because of the way it deals with unicode (2020 is coming soon too). If you still need to use Python 2 - check out the (outdated) python2 branch.
spotify-downloader works with all major distributions and even on low-powered devices such as a Raspberry Pi.
Check out the Installation wiki page for OS-specific instructions to get spotify-downloader working on your system.
For the most basic usage, downloading tracks is as easy as
$ python3 spotdl.py --song https://open.spotify.com/track/2DGa7iaidT5s0qnINlwMjJ $ python3 spotdl.py --song "ncs - spectre"
For downloading playlist and albums, you need to first load all the tracks into text file and then pass this text file to
--listargument. Here is how you would do it for a playlist
$ python3 spotdl.py --playlist https://open.spotify.com/user/nocopyrightsounds/playlist/7sZbq8QGyMnhKPcLJvCUFD INFO: Writing 62 tracks to ncs-releases.txt $ python3 spotdl.py --list ncs-releases.txt
python3 spotdl.py --help to get a list of all available options in spotify-downloader.
Check out the Available options wiki page for the list of currently available options with their description.
The wiki page Instructions for Downloading Songs contains detailed information about different available ways to download tracks.
Check out our FAQ wiki page for more info.
Check out CONTRIBUTING.md for more info.
$ python3 -m pytest test
Obviously this requires the
pytest module to be installed.
Downloading copyright songs may be illegal in your country. This tool is for educational purposes only and was created only to show how Spotify's API can be exploited to download music from YouTube. Please support the artists by buying their music.