safari-books-downloader

command module
v0.0.0-...-5663587 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

README

SafariBooks Downloader

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 Report Card

Installation

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

Usage example

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

Config

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 = ""

Development setup

Release History

  • 0.0.1
    • Work in progress

Meta

Your Name – @kakashiliu Distributed under the Apache License 2.0. See LICENSE for more information.

https://github.com/kkc

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL