Skip to content
Snippets Groups Projects
Commit 3cb4c630 authored by Georg Petz's avatar Georg Petz
Browse files

requirements and OAI-PMH

parent 844131e0
No related branches found
No related tags found
No related merge requests found
%% Cell type:code id: tags:
``` python
from sickle import Sickle
```
%% Cell type:code id: tags:
``` python
sickle = Sickle('https://eu02.alma.exlibrisgroup.com/view/oai/43ACC_ONB/request')
records = sickle.ListRecords(metadataPrefix='oai_dc', set='ABODC')
meta = records.next().metadata
ids = meta.get('identifier')
```
%% Cell type:code id: tags:
``` python
mms = [i for i in ids if i.startswith('alma:43ACC_ONB/bibs/')]
mms[0].strip('alma:43ACC_ONB/bibs/')
```
%% Output
'9957805251203338'
%% Cell type:code id: tags:
``` python
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment