SafariBooks downloader is a project used to download ebook from https://www.safaribooksonline.com/ and convert it to be epub. This project mimics https://github.com/nicohaenggi/SafariBooks-Downloader by using golang.
go get -d github.com/kkc/safari-books-downloader
cd ${GOPATH:-$HOME/go}/src/github.com/kkc/safari-books-downloader
go build -o safari-downloader
safari-downloader bookId
Usage:
safari-downloader bookId [flags]
Flags:
-h, --help help for safari-downloader
-o, --output string output path the epub file should be saved to (default "ebook.epub")
-p, --password string password of the SafariBooksOnline user
-u, --username string username of the SafariBooksOnline user - must have a **paid/trial membership**, otherwise will not be able to access the books
you could set up your own username and password in the local config file instead of entering username and password everytime.
put your username and password in the ~/.safari.toml
.
[safari]
username = ""
password = ""
- 0.0.1
- Work in progress
Your Name – @kakashiliu
Distributed under the Apache License 2.0. See LICENSE
for more information.