Skip to content
README.MD 662 B
Newer Older
csteindl's avatar
csteindl committed
# Download From IIIF-Collections
phylogram's avatar
phylogram committed

This repository provides a terminal script to auto-download images and ocrs 
csteindl's avatar
csteindl committed
(actually `resource/oa:Annotation/[@type='dctypes:Text' && format = 'text/plain']`) with threaded requests from [iiif collections](https://iiif.io/api/presentation/3.0/#51-collection).
phylogram's avatar
phylogram committed

# Prerequisites

- Knowledge
    - Basic terminal usage
csteindl's avatar
csteindl committed
    - Really makes sense if you now some python and iiif: You might want to alter the script
phylogram's avatar
phylogram committed
- Software:
    - python 3.7 +
csteindl's avatar
csteindl committed
    - Better use `venv` https://docs.python.org/3/tutorial/venv.html
phylogram's avatar
phylogram committed
    - `pip install -r requirements.txt`
    
# Run script

csteindl's avatar
csteindl committed
Run `python script.py`. You will find help with `--help`