Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Spotify Exported Data Processor

Disclaimer - All disclaimers applied to 'spotdl' python package applies here to. According to the law, it is illegal to distribute copyrighted content that you obtained without getting explicit rights and consent to do so. Users are responsible for their actions and potential legal consequences. I do not support unauthorized downloading of copyrighted material and take no responsibility for user actions.

Prerequisites

  1. Install "spotdl" python package, for more clear instructions visit the repo - https://github.com/spotDL/spotify-downloader

    • Install Python Virtual Environment Package depending on your Operating System

    • Create a virtual environment and activate it - python3 -m venv <directory> && source <directory>/bin/activate

  2. Download your Spotify Account Data (you don't need the extended streaming history, just the main data which contains YourLibrary.json and Playlist1.json files)

    • YourLibrary.json contains all your liked songs at the time of data request and also albums. The albums themselves doesn't contain the songs though.

    • Playlist1.json contains all your playlists/albums along with their songs.

For more info on how to download and to understand the data that you get, check this webpage - https://support.spotify.com/us/article/data-rights-and-privacy-settings/

Usage

python3 scrapper.py <json file> <options>

Options

  • countLiked - gives you the count of all your "Liked Songs"

    • command - python3 scrapper.py YourLibrary.json count
  • listAlbums - gives you the list of albums/playlists that are under your account,

    • command - python3 scrapper.py Playlist1.json listAlbums
  • downloadLiked - downloads all your Liked songs using spotdl

    • command - python3 scrapper.py YourLibrary.json downloadLiked
  • downloadAlbum - download a specific album in a dedicated folder with the album's name

    • command - python3 scrapper.py Playlist1.json downloadAlbum <album_name>
  • downloadAllAlbums - download all albums with each having a dedicated folder with the album's name

    • command - python3 scrapper.py Playlist1.json downloadAllAlbums
  • createM3UPlaylist - create an .m3u file listing all songs (relative path) so the folder can be recognized as playlists

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages