Skip to content

Instantly share code, notes, and snippets.

@alpacaaa
Created December 10, 2014 02:47
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alpacaaa/9557261a30f917555407 to your computer and use it in GitHub Desktop.
Save alpacaaa/9557261a30f917555407 to your computer and use it in GitHub Desktop.
Beatport downloader

Isn't it crazy

That motherfucking Beatport doesn't let you download tracks in bulk? Why Beatport WHY?

var buttons = $('.playRow form .btn-download');
var index = 0;
var interval = setInterval(function() {
var b = buttons.eq(index++)
if (!b.length) {
return clearInterval(interval);
}
b.click();
}, 20 * 1000);
@dojoe
Copy link

dojoe commented Feb 24, 2017

Beatport changed their HTML, new buttons filter:
var buttons=$("a.download-button");

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