Skip to content

Instantly share code, notes, and snippets.

@mkcn
mkcn / spotify-songs-list-extractor.md
Last active May 8, 2022 23:28
Extract songs list from Spotify playlists with no external tool

1) Log in into Spotify and open a playlist

2) Open the dev tools (CTRL-SHIFT-C) and go to console tab

3) Paste this javascript code

var spotifySongClassName = "iCQtmPqY0QvkumAOuCjr"; //this may change in the future
var songsObj = document.getElementsByClassName(spotifySongClassName);

var result = "";

Keybase proof

I hereby claim:

  • I am mkcn on github.
  • I am mkcn (https://keybase.io/mkcn) on keybase.
  • I have a public key whose fingerprint is E592 5922 B972 D57E 7A7B FF7B 2009 BB6A A424 6CA6

To claim this, I am signing this object: