Giter Site home page Giter Site logo

spotify-downloader's Introduction

Spotify-Downloader

PyPi Build Status Coverage Status Docker Build Status Code style: black Gitter Chat

  • 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 includes:

    • Title, Artist, Album, Album art, Lyrics (if found either on Genius or LyricsWikia), Album artist, Genre, Track number, Disc number, Release date, and more...
  • Works straight out of the box and does not require you to generate or mess with your API keys (already included).

Below is how your music library will look!

Installation

โ—๏ธ 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.

spotify-downloader can be installed via pip with:

$ pip3 install spotdl

but be sure to check out the Installation wiki page for detailed OS-specific instructions to get it and other dependencies it relies on working on your system.

Usage

For the most basic usage, downloading tracks is as easy as

$ spotdl --song https://open.spotify.com/track/2DGa7iaidT5s0qnINlwMjJ
$ spotdl --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 --list argument. Here is how you would do it for a playlist

$ spotdl --playlist https://open.spotify.com/user/nocopyrightsounds/playlist/7sZbq8QGyMnhKPcLJvCUFD
INFO: Writing 62 tracks to ncs-releases.txt
$ spotdl --list ncs-releases.txt

Run spotdl --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.

FAQ

All FAQs will be mentioned in our FAQ wiki page.

Contributing

Check out CONTRIBUTING.md for more info.

Running Tests

$ pytest

Obviously this requires the pytest module to be installed.

Disclaimer

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.

License

License

spotify-downloader's People

Contributors

ritiek avatar linusg avatar ns23 avatar manveerxyz avatar vn-ki avatar aareon avatar mello-yello avatar sdhutchins avatar arryon avatar arthurlutz avatar bcardiff avatar kadaliao avatar chew-z avatar russellbradley avatar silverfeelin avatar cyberboysumanjay avatar wmp avatar alfredosequeida avatar amit-l avatar elbandi avatar cclauss avatar angeloudi avatar nightmachinery avatar i-al-istannen avatar lkgarrison avatar karunamon avatar m1guelpf avatar gnodar01 avatar peterm avatar pierrege avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.