Update hardcoded cookies into sbd.py than run it with link to Safari book as argument.
NB: This is a dirty quick modification.
This project fetches relevant data from Safari Books Online pages and generates a single pdf with the content.
- Install sbd with pip
$ pip install sbd
- Install wkhtmltopdf
- Debian/Ubuntu:
$ sudo apt-get install wkhtmltopdf
- Windows and other options: check wkhtmltopdf homepage for binary installers
$ usage: sbd [-h] safari_book_url
You need to export your cookies and update the script with correct values.
$ sbd https://learning.oreilly.com/library/view/linux-observability-with/9781492050193/