#manga #downloader #reader #chapter #download #pdf #archive

bin+lib dynasty

Dynasty Reader's CLI downloader

8 stable releases

1.4.1 Oct 16, 2022
1.4.0 Oct 15, 2022
1.2.0 Sep 27, 2022
0.1.2 Aug 6, 2022

#347 in Images

Download history 13/week @ 2024-02-23 3/week @ 2024-03-01 80/week @ 2024-03-29

80 downloads per month

MIT/Apache

105KB
2.5K SLoC

dynasty

Crates.io version Crates.io recent downloads

GitHub Workflow Status (Release) GitHub Workflow Status (API Check) GitHub last commit

A Dynasty Reader's CLI downloader, written in Rust.

Installation

  1. GitHub releases

You need to extract the archive in order to get the executable binary.

  1. Cargo

Rust toolchain is required.

cargo install dynasty

Cargo will put the binary, dynasty-cli at your installation root (typically at $HOME/.cargo/bin).

Usage

Dynasty Reader's CLI downloader

Usage: dynasty-cli [OPTIONS] [URL]... <COMMAND>

Commands:
  search  Search for query on Dynasty Reader
  help    Print this message or the help of the given subcommand(s)

Arguments:
  [URL]...  Urls to download

Options:
  -a, --archive <ARCHIVE>               Archive downloaded chapters as `<ARCHIVE>` [possible values: cbz, pdf, zip]
  -A, --keep-archived                   Whether to keep archived chapters
  -d, --directory <PATH>                Sets the output directory
  -f, --flatten-directory               Whether to flatten output directory
  -n, --no-cache                        Whether to not cache resolver results
  -j, --max-concurrent-request <COUNT>  The maximum number of concurrently running requests [default: 4]
  -k, --max-retry <COUNT>               The maximum number of request retries [default: 4]
  -h, --help                            Print help information
  -V, --version                         Print version information

Examples

  1. Download Hino-san no Baka with 8 concurrent fetch.
dynasty-cli https://dynasty-scans.com/series/hino_san_no_baka -j 8
  1. Download the chapters as pdf.
dynasty-cli https://dynasty-scans.com/series/a_scummy_gap_student_with_a_hard_life_calls_upon_a_lady_of_the_night --archive pdf
  1. Using proxy (http, https, or socks) is possible through environment variable (see reqwest proxies).
HTTPS_PROXY=socks5://127.0.0.1:1080 dynasty-cli https://dynasty-scans.com/chapters/kitanai_kimi_ga_ichiban_kawaii_ch26

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~12–35MB
~483K SLoC