Skip to content

moraisaugusto/spotify-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spotify Downloader

Spotify Downloader is a app that download your the spotify playlist, convert all musics to mp3 and write the tag3d. This was created only for educational use.

Prerequisites

  • Linux / Windows (tested on Debian)
  • Python Modules: youtube_dl, beautifulsoup4, mutagen, spotipy
  • ffmpeg

Installation

Install all Python modules:

pip3 install youtube_dl beautifulsoup4 mutagen spotipy
aptitude install ffmpeg

Configuration

Create the download and tmp folders

mkdir downloads tmp

Configure your credentials. Edit the file spotify.py

os.environ["SPOTIPY_CLIENT_ID"] = ''
os.environ["SPOTIPY_CLIENT_SECRET"] = ''
os.environ["SPOTIPY_REDIRECT_URI"] = 'http://yourredirectURI'
spotify.retrievePlaylists("SPOTIFYUSERNAME")
youtube.getMusics('YOURPLAYLIST')

Using

Edit the file spotify.py

NOTE: The first time when you run the script will be ask to you the REDIRECT URI. Just paste the URI returned from the given URI.

python spotify.py

About

Educational Spotify Music Downloader

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages