GithubHelp home page GithubHelp logo

arjunattam / spotify-playlist-archive Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mackorone/spotify-playlist-archive

0.0 1.0 0.0 363.2 MB

Daily snapshots of public Spotify playlists

License: MIT License

Python 100.00%

spotify-playlist-archive's Introduction

spotify-playlist-archive

Daily snapshots of public Spotify playlists

Spotify's playlists are great. I like that they're updated once in a while - change is good! I don't like, however, that it's impossible to see older versions. How am I supposed to remember the name of that song I really liked? Apparently, I'm not alone: see here, here, here, here, here, here, here, here, and here. Since Spotify won't take snapshots of our favorite playlists, let's do it ourselves!

Quick start

  1. To view the current version of a playlist, click on its name below
  2. To see all songs that ever belonged to a playlist, click "cumulative"
  3. To determine which songs were added or removed from a playlist, click "githistory"
  4. To add a playlist to the archive, simply touch playlists/aliases/<playlist_id> and make a pull request

How it works

This repository contains a script for scraping Spotify playlists and publishing them back to the repo. The script is run daily via GitHub Actions. It's also run after every commit, which means that playlists get regenerated whenever the scraping or formatting logic changes, or when new playlists are added - cool!

The script determines which playlists to scrape by looking at the file names in playlists/aliases. Files get regenerated as follows: a pretty version of each playlist gets dumped in playlists/pretty, new tracks are added to the files in playlists/cumulative, and a plaintext version of each playlist is written to playlists/plain. The plain version is sorted alphabetically, rather than by track number, so that it only changes when tracks are added or removed, making Git History a nice way to visualize how the playlist evolves over time.

Playlists

spotify-playlist-archive's People

Contributors

mackorone-bot avatar mackorone avatar catzs avatar jesse27 avatar mixgrill924 avatar apoclyps avatar robbycuenot avatar fortytwo102 avatar ttrnwcz avatar prillan avatar bananabeer19 avatar searching2020 avatar 13spacemen avatar andyw8 avatar tobez avatar schustan avatar bcwrit avatar bennetfabian avatar edmundayris avatar hellfoxmt avatar hudsonjamie avatar lqtza avatar lgerald avatar nattanyz avatar natstar93 avatar natdempk avatar nigimaxx avatar kairixir avatar pdbrito avatar peter-jangootzen avatar

Watchers

 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.