Super Nerdy Cool

My (technical) adventures through the professional world…
November 2, 2010

Automate downloading books and pdf’s on

Having an electronic version of a book is great. I can skim and search through it very easily. Although I do find hardcopies useful at times, I prefer softcopies 99% of the time due to their accessibility and searchability.

Most universities have deals with publishers where students can access the electronic version of a book at the publisher’s website. This saves me the trip of running to the library when I need a book and solves the “book checked out” issue.

Springer books can be found online. You have to be on your school’s network (VPN) to access them. The crappy thing is they put up books by chapters, so you have to manually save them if you need to look at the entire book. I’ve used wget before to easily download the pdf files. However, wget doesn’t seem to work anymore because the files are no longer html links. A quick query on google (“springerlink download whole book”) yielded the springer_downlad python script. It depends on stapler which in turn depends on pyPDF. To install and use:

 <pre class="src src-sh">git clone git://

git clone git clone cd pyPDF sudo ./ –install cd ../stapler/ cp ./ ~/Documents/bin/ ## or copy it to /usr/local/bin cd ../springer_download cp ~/Documents/bin ## or copy it to /usr/local/bin ## to download -l ## output: a concatenated, full pdf file of the book

Very neat!

2 Comments to “Automate downloading books and pdf’s on”

Leave a Comment