trtm / DLBB

:book: :hammer: DLBook Builder
44 stars 13 forks source link

DLBB

:book: :hammer: DLBook Builder

Tired of manually printing every *.html page from the DLBook webpage? Here is your python script. It's like printing by hand, except you don't have to :smile:

This script will generate a full local pdf version of the DLBook just for you.

Requirements

  • wget (1.13.4)
  • pdftk (1.44)
  • beautifulsoup4 (4.4.1)
  • cmdlnprint (0.6.1) Firefox Add-on

Tested with

  • Ubuntu 12.04
  • Firefox 41.0
  • Python 2.7.3

Terminal

python bookbuilder.py --webpage=http://www.deeplearningbook.org/

Use commandline arguments to adjust the time between prints e.g.

--seconds=20