Skip to content

Instantly share code, notes, and snippets.

@simonc
Last active March 27, 2019 14:25
Show Gist options
  • Save simonc/ec00955845e23046f6d8 to your computer and use it in GitHub Desktop.
Save simonc/ec00955845e23046f6d8 to your computer and use it in GitHub Desktop.
Go to grooveshark and type this in the development console (Thank you audiosplitter.fm !!)

Backup for Grooveshark Collection

This works even with Grooveshark dead!

The awesome people at audiosplitter.fm provide a little code snippet that allows you to get your Grooveshark collection back.

Go to http://grooveshark.com and open your browser devtools, go to the Console tab and type the content of the JS script. You'll get a big JSON blob, if you know how to exploit it good for you, if not audiosplitter.fm can import it, go use it ;)

var libraryKey = Object.keys(localStorage).filter(function(key) {
return key.match(/library\d/)
});
var lib = localStorage[libraryKey];
lib;
@dlajarretie
Copy link

Great, thanks ! I created a bookmarklet version, with a human-readable output : https://gist.github.com/dlajarretie/e5fb445866781f986e53

@HolyShmoley
Copy link

So I am using Google Chrome. I go to the grooveshark "sorry they killed us" page, and I go to Developer's Tools -> Console, but then what?

I copy/pasted the five lines of code above, but it just responds with "undefined"? I only know Java, C, C++, SQL, etc. (and older) type languages because I am always working on large-scale legacy integrations. I never have time to get into web-related development.

Any help would be great! Thank you so much! I just want my playlists with the song names at a minimum, although people have been saying that the site has been resurrected, but I can't find the corresponding URL?

@diegoMontesinos
Copy link

Hi, I write a simple HTML web page for view an artist-ordered table with your script... thanks!
https://github.com/diegoMontesinos/grooveshark-backup-list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment