Skip to content

Instantly share code, notes, and snippets.

@davestevens
Created April 25, 2011 21:13
Show Gist options
  • Save davestevens/941240 to your computer and use it in GitHub Desktop.
Save davestevens/941240 to your computer and use it in GitHub Desktop.
Get links to music in bandcamp
javascript:(function(){
var TEMP = -1;
var HTML = '';
while(mine = TralbumData.trackinfo[++TEMP]) {
HTML += '<a href="' + mine.file + '" target="_blank">' + mine.title + '</a><br/>' + "\n";
}
var newdiv = document.createElement('div');
newdiv.setAttribute('id', 'helloWorld');
newdiv.style.background = "#000";
newdiv.innerHTML = HTML;
document.body.appendChild(newdiv);
}
/* you can use this as a bookmarklet in your browser. when on an bandcamp site just click the bookmark and a list of all the available songs with direct links to download will be created.
YOU SHOULD REALLY PAY FOR MUSIC IF YOU LIKE IT THOUGH */
)();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment