Skip to content

Instantly share code, notes, and snippets.

@dob9601
Created April 8, 2018 21:12
Show Gist options
  • Save dob9601/2ee5fb5f14d0fd50082f3a71d0c74036 to your computer and use it in GitHub Desktop.
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)
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)
@dob9601
Copy link
Author

dob9601 commented Apr 8, 2018

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.

@dob9601
Copy link
Author

dob9601 commented Jul 3, 2018

No longer works on chrome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment