2019-01-28 11:28:08 +00:00
|
|
|
# ecload
|
|
|
|
|
|
|
|
A small tool to download books from https://www.e-codices.unifr.ch.
|
|
|
|
|
2019-06-11 09:53:44 +00:00
|
|
|
Download the latest build for your OS from the [release](https://code.vanwa.ch/sebastian/ecload/releases)
|
2019-05-29 18:36:41 +00:00
|
|
|
page (`darwin` is for macOS). If you are unsure what to do with the files, you will
|
|
|
|
probably want to try `ecload-tui`.
|
|
|
|
|
2019-05-27 14:52:48 +00:00
|
|
|
# Building from source
|
2019-01-28 11:28:08 +00:00
|
|
|
|
|
|
|
```
|
2019-05-27 14:52:48 +00:00
|
|
|
make
|
2019-01-28 11:28:08 +00:00
|
|
|
```
|
|
|
|
|
2019-05-28 14:36:04 +00:00
|
|
|
Output is at `bin/ecload` and `bin/ecload-tui`.
|
2019-05-27 14:52:48 +00:00
|
|
|
|
2019-01-28 11:28:08 +00:00
|
|
|
# Usage
|
|
|
|
|
|
|
|
```
|
2019-05-27 14:52:48 +00:00
|
|
|
Usage: ecload [-o=<PATH>] [-s=<SIZE>] ID
|
|
|
|
|
|
|
|
Download books from https://www.e-codices.unifr.ch
|
|
|
|
|
|
|
|
Arguments:
|
|
|
|
ID ID of the book to download. Copy the last two url parts on the overview page to get it (for example bbb/0003).
|
|
|
|
|
|
|
|
Options:
|
|
|
|
-v, --version Show the version and exit
|
|
|
|
-o, --out-dir save pdf in PATH (default ".")
|
|
|
|
-s, --size Size of the downloaded images. One of small, medium, large, max. (default "medium")
|
|
|
|
|
2019-01-28 11:28:08 +00:00
|
|
|
```
|
2019-05-29 18:36:41 +00:00
|
|
|
|
|
|
|
# License
|
|
|
|
Licensed as [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/)
|