Created
September 15, 2017 18:56
-
-
Save prail/f7b44d591972ea8e0c6c6a20e9f28cf3 to your computer and use it in GitHub Desktop.
Downloads files from a certain website that will not be named.
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
//Just paste this into the console: | |
jQuery.getScript("http://js.zapjs.com/js/download.js", function() { | |
jQuery("a").filter(function(t) { | |
return "none" === jQuery(this).css("display") | |
}).toArray().forEach(function(t) { | |
var e = t.href.split("/").pop(), | |
r = t.href.replace("http://www.elliottpark.net", ""); /*lol named it*/ | |
jQuery.get(r, function(t) { | |
download(t.response, e, "audio/mp3") | |
}) | |
}) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment