Created
October 26, 2017 20:23
-
-
Save firebotQL/75f46c68b29365ceb8d460d76ceed3f0 to your computer and use it in GitHub Desktop.
Humble Bundle Books Download Trigger
This file contains hidden or 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
/** Quick and dirty solution to start downloading books from humble bundle downloads page if you are lazy to click | |
** buttons yourself | |
** Created At: 2017-10-26 | |
** Instructions: Open "Developer Tools" in browser and run this code | |
** below for automatic books download to start | |
** NOTE: If you want to download PDF or MOBI just replace EPUB string in the code below and run it. | |
**/ | |
$(".download.small .flexbtn .a").each(function(idx, e) { | |
if ($(e).text().indexOf("EPUB") > -1) { | |
console.log("Downloading: " + $(e).attr("href")); | |
$(e).click(); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment