2019-01-28 11:28:08 +00:00
|
|
|
# ecload
|
|
|
|
|
|
|
|
A small tool to download books from https://www.e-codices.unifr.ch.
|
|
|
|
|
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-27 14:52:48 +00:00
|
|
|
Output is at `bin/ecload`.
|
|
|
|
|
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
|
|
|
```
|