Skip to content

Instantly share code, notes, and snippets.

@lnicola
lnicola / hb_all_books_dl.js
Created December 1, 2017 18:25 — forked from barrywoolgar/hb_all_books_dl.js
Humble bundle book bundles - download all books at once
/*
After purchasing a humble book bundle, go to your download page for that bundle.
Open a console window for the page and paste in the below javascript.
This will download all the books in all the formats available.
*/
var s = "";
$('.js-start-download a').each(function() {
s += $(this).attr("href") + "\n";
});
console.log(s);