orly 0.1.0

Download O'Reilly books as EPUB
Documentation

orly

Download O'Reilly books as EPUB.

GitHub release Downloads Crates.io License

Table of Contents

Installation

After installation, the orly command will be available. Check the command line section for supported commands.

Usage

  • You will need an O'Reily account with a non-expired subscription.

  • Find the book you want to download and copy its id (the digits at the end of the url).

  • Use your credentials to download the book:

    orly --creds "email@example.com" "password" 1234567890
    
    

Command line interface

Currently orly supports these commands

USAGE:

    orly.exe [FLAGS] [OPTIONS] --creds <EMAIL PASSWORD>... <BOOK_ID>

ARGS:

    <BOOK_ID>    Book ID to download. Digits from the URL


FLAGS:

    -h, --help       Print help information

    -k, --kindle     Tweak css to avoid overflow. Useful for e-readers

    -v, --verbose    Sets the level of verbosity

    -V, --version    Print version information


OPTIONS:

    -c, --creds <EMAIL> <PASSWORD>     Sign in credentials

    -o, --output <OUTPUT DIR>          Directory to save the final epub to [default: .]

    -t, --threads <THREADS>            Sets the maximum number of concurrent http requests [default: 20]