Skip to content

Instantly share code, notes, and snippets.

@jboesch
Created March 30, 2012 22:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jboesch/2255972 to your computer and use it in GitHub Desktop.
Save jboesch/2255972 to your computer and use it in GitHub Desktop.
Get favorite tracked in an array from 8tracks
// 1. Goto 8tracks.com and login.
// 2. Under your profile click "Favorited tracks".
// 3. Open up the console (CMD+OPTION+I) in Chrome or Safari and input this:
var music=[];$('.track_info').each(function(){ music.push($.trim($(this).find('.a').text()) + ' - ' + $.trim($(this).find('.t').text())) });music.join("\n");
// 4. Then hit enter.
// You will get a list of your music that you can copy/paste somewhere else.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment