Skip to content

Latest commit

 

History

History
51 lines (23 loc) · 986 Bytes

README.rst

File metadata and controls

51 lines (23 loc) · 986 Bytes

sbd - Cookies based version - A python tool to convert Safari Books Online resources into PDF.

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.

Installation

  1. Install sbd with pip
$ pip install sbd
  1. Install wkhtmltopdf
  • Debian/Ubuntu:
$ sudo apt-get install wkhtmltopdf
  • Windows and other options: check wkhtmltopdf homepage for binary installers

Usage

$ 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/