wiki:download_all_pdfs_humble_bundle
This is an old revision of the document!
Table of Contents
Download all pdfs from Humble Bundle
Open website inspector (Ctrl+Shift+i), then in console paste this.
`cmds = ""; for (a of document.getElementsByTagName("a")) { if (a.href.startsWith("https://dl.humble.com")) cmds += "wget --content-disposition \"" + a.href + "\"\n"; }; console.log(cmds);`
Remove wget strings, all links to non-pdfs and quotes
sed -i 's/wget --content-disposition//g' wgetfiles sed -i '/pdf/!d' wgetfiles sed -i 's/\"//g' wgetfiles
Download just PDFs
wget --content-disposition -i wgetfiles
Tested on
See also
References
wiki/download_all_pdfs_humble_bundle.1617188285.txt.gz · Last modified: 2021/03/31 12:58 by antisa