Skip to content

Mahasvan/SpotPlaylistDL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpotPlaylistDL

A tool utilizing spotdl to download a playlist from Spotify.

Note

Use this tool at your own risk. I am not responsible for any physical or emotional damage caused.

Usage

  • Install dependencies by pip install -r requirements.txt
  • Fill in the required details in config.json (you need to create the file yourself)
    {
        "client_id": "your client id here",
        "client_secret": "your client secret here",
        "redirect_uri": "http://localhost:8080",
        "bitrate": "128k",
        "overwrite": "skip",
        "download_folder": "SpotifyMusic"
    }
    
  • Run python main.py

How It Works

  • It loads a playlist from Spotify, and gathers basic metadata for each file
  • It then iterates through each track, and gathers additional metadata about the artist and album - This costs us 2 API calls per track.
  • It then downloads all tracks using SpotDL.
  • It then iterates through each track, and downloads the subtitles for each track if found.

Credits

  • Spotdl for Spotdl and for clarifying any doubts I had about their library.
  • Spotipy for the Spotify API Wrapper.
  • Joshj23 for their extensive help in gathering lyrics for hundreds of tracks now present in song_dicts.json. (This was rewritten, but still thanks)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages