Skip to content

Instantly share code, notes, and snippets.

@digital-shokunin
Last active August 29, 2015 14:21
Show Gist options
  • Save digital-shokunin/271bc6964dc46e28e08e to your computer and use it in GitHub Desktop.
Save digital-shokunin/271bc6964dc46e28e08e to your computer and use it in GitHub Desktop.
How to get your grooveshark playlist
In Chrome, hit Ctrl-Shift-J,
Paste the following JS into the console
var libraryKey = Object.keys(localStorage).filter(function(key) { return key.match(/library\d/) });
var lib = JSON.parse(localStorage[libraryKey]).songs
var songs = []
for (var i in lib) {
var song = lib[i]
songs.push(song.D + " - " + song.B + " - " + song.J)
}
songs.join("\n")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment