Created
April 8, 2018 21:12
-
-
Save dob9601/2ee5fb5f14d0fd50082f3a71d0c74036 to your computer and use it in GitHub Desktop.
Download the whole of the humble trove (if you have subscribed to the humble trove)
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
var buttons = $( ".js-download-button" ).click() | |
var i=0 | |
setInterval(function() { | |
buttons[i].click() | |
console.log('Downloading: '+buttons[i].parentNode.parentNode.parentNode.children[0].children[0].children[0].innerHTML) | |
i++ | |
}, 1000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You may need to adjust the interval or the max number of concurrent downloads for your computer in order for this script to work well.