Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 1.49 KB

README.md

File metadata and controls

47 lines (37 loc) · 1.49 KB

spotify_song_dowloader

A spotify music downloader that downloads playlists,albums or single music/video using spotify music link

Installation

Clone repo on your machine.

> git clone https://github.com/kris-slinger/spotify_song_dowloader

Install python requirements.

pip install -r requirements.txt

If using python3,use pip3.

Head over to spotify for developer and create an account.Create an app inside spotify for developer which will give you a secret id and key(check out their docs for more info).

If using linux,in your .bashrc or .zshrc,create two shell variables SPOTIFY_API_KEY and SPOTIFY_API_ID.

export SPOTIFY_API_KEY = 'c23........'
export SPOTIFY_API_ID ='vt5......'

If not using linux or not feeling like creationg shell variables,replace the two lines cid and secret with the spotify api key and id in slinger_spotify.py.

# slinger_spotify.py
cid = 'ghq.....'
secret = 'cf5.....'

This api keys and id were created in spotify for developer above.

Run the slinger_spotify file,

python slinger_spotify.py

and follow the steps

Technologies

License