35 lines
732 B
Markdown
35 lines
732 B
Markdown
# ecload
|
|
|
|
A small tool to download books from https://www.e-codices.unifr.ch.
|
|
|
|
|
|
# Installation
|
|
```
|
|
go install code.vanwa.ch/sebastian@vanwa.ch/ecload
|
|
```
|
|
|
|
# Building from source
|
|
|
|
```
|
|
make
|
|
```
|
|
|
|
Output is at `bin/ecload`.
|
|
|
|
# Usage
|
|
|
|
```
|
|
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")
|
|
|
|
```
|