- First open javascript console on the https://www.humblebundle.com/downloads?key=xxxxxxxxxxx page.
- Paste the content of get-contents.js to the console
- Then paste the alerted text into a file, named files.txt next to the download.sh
- Run the download.sh
- Enjoy
Download stuff from humble-bundle in batch
#!/bin/sh | |
wget -i files.txt | |
for i in *;do n=$(echo $i | sed -E 's/\?.+//'); mv "$i" "$n"; done; |
alert(Array.from(document.querySelectorAll('.whitebox-redux a.a')).map(a => a.href).filter(f => f.startsWith('https://dl.humble.com')).join('\n')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment