jonathanlurie / gallica

Fetch full res maps from BNF Gallica

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gallica

A CLI to fetch photos and maps from BNF Gallica website.

(sudo) npm install -g git+https://github.com/jonathanlurie/gallica.git

Then, you need the ark ID of the document you want to fetch. You can usually find this ID in the URL.
In a terminal:

gallica --ark btv1b531213318 --save /somepath/image.jpg

It it possible that the document contains more than one image or page, then it is going to be saved as image.0.jpg, image.1.jpg, image.n.jpg. Plus a metadata file will be written under the name image.json.

About

Fetch full res maps from BNF Gallica

License:MIT License


Languages

Language:JavaScript 100.0%