That motherfucking Beatport doesn't let you download tracks in bulk? Why Beatport WHY?
Created
December 10, 2014 02:47
-
-
Save alpacaaa/9557261a30f917555407 to your computer and use it in GitHub Desktop.
Beatport downloader
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Beatport changed their HTML, new buttons filter:
var buttons=$("a.download-button");