Skip to content
/ sbd Public
forked from lmyslinski/sbd

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

License

Notifications You must be signed in to change notification settings

am-zed/sbd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%