Install Node. We recommend the LTS release. The SafariBooks-Downloader has been tested on most node versions between v4. For more information about how to install it on your environment, see Installing Node. To verify your installation, run:. If a version is returned, you did successfully install Node. Next up, make sure npm is properly installed. To verify, run:. If the command returns a version number, you're all set. Next, we'll clone the repository.
You've successfully installed SafariBooks-Downloader. If you desire to do so, you can install the tool globally on your machine. To do so, run:. If the command returns a version number, you have successfully installed the tool globally.
The current release is v1. The tool provides the following six options. The options --bookid, --username, --password and --output are required. However, if the username and password options are provided once, they will be cached and are no longer required to run the CLI.
An example showing how a SafariBooksOnline with id is downloaded and converted into a ePub file testbook. An example showing how a SafariBooksOnline with id is downloaded and converted into a ePub file testdebugbook. Skip to content. Star MIT License. Branches Tags. You can also use the command-line version of Calibre with ebook-convert , e.
The program offers also an option to ensure best compatibilities for who wants to export the EPUB to E-Readers like Amazon Kindle: --kindle , it blocks overflow on table and pre elements see example.
On the right, the book created with --kindle option, on the left without default :. For any kind of problem, please don't hesitate to open an issue here on GitHub. Skip to content.
Star 3. Branches Tags. Could not load branches. Could not load tags. Latest commit. Git stats commits. Failed to load latest commit information. View code. The result? Clean code that works.
0コメント