Skip to content

Instantly share code, notes, and snippets.

@slint
Last active July 24, 2018 17:50
Show Gist options
  • Save slint/86146525f799c3f55b5abfd9d2d56690 to your computer and use it in GitHub Desktop.
Save slint/86146525f799c3f55b5abfd9d2d56690 to your computer and use it in GitHub Desktop.
from sickle import Sickle
harvester = Sickle('https://zenodo.org/oai2d')
records_iterator = harvester.ListRecords(
metadataPrefix='oai_datacite', # or 'oai_dc'
set='user-kios-coe')
for record in records_iterator:
print(record.header.identifier)
# oai:zenodo.org:1039010
# oai:zenodo.org:1037132
# oai:zenodo.org:1012255
# oai:zenodo.org:1010213
# ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment