https://github.com/atomotic/ic-dl
Download MAG xml files from a search result on http://www.internetculturale.it/
https://github.com/atomotic/ic-dl
code4lib sbn
Last synced: over 1 year ago
JSON representation
Download MAG xml files from a search result on http://www.internetculturale.it/
- Host: GitHub
- URL: https://github.com/atomotic/ic-dl
- Owner: atomotic
- Created: 2018-01-09T22:50:01.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-02-10T11:34:29.000Z (over 2 years ago)
- Last Synced: 2024-07-31T20:26:50.596Z (almost 2 years ago)
- Topics: code4lib, sbn
- Language: Go
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ic-dl
scarica i file MAG XML degli oggetti risultato di una ricerca nella **Biblioteca Digitale** di http://www.internetculturale.it
[](https://asciinema.org/a/398757)
## Installazione
~ go get -u -v github.com/atomotic/ic-dl
## Utilizzo
~ ic-dl
-all
search all (*)
-query string
query string
-type string
filtery by type (eg. 'periodici')
### Esempio
~ ic-dl -query "archiginnasio"
oai:www.internetculturale.sbn.it/Teca:20:NT0000:BOA0140 oai-www-internetculturale-sbn-it-teca-20-nt0000-boa0140.xml
oai:www.internetculturale.sbn.it/Teca:20:NT0000:BOA0010 oai-www-internetculturale-sbn-it-teca-20-nt0000-boa0010.xml
oai:www.internetculturale.sbn.it/Teca:20:NT0000:BOA0030 oai-www-internetculturale-sbn-it-teca-20-nt0000-boa0030.xml
[...]
L'output dello script riporta l'identificativo OAI dell'oggetto e il corrispondente file xml salvato.
Gli xml vengono salvati nella directory `./ic-data`. La directory viene creata automaticamente se non esistente.