mloesch / sickle

Sickle: OAI-PMH for Humans
Other
106 stars 42 forks source link

OAI endpoint in tutorial yields HTTPError #53

Open Iris-Hinrichs opened 3 years ago

Iris-Hinrichs commented 3 years ago

I am very grateful for this OAI-PMH python package plus the good documentation! But:

Code from tutorial: sickle = Sickle('http://elis.da.ulcc.ac.uk/cgi/oai2') records = sickle.ListRecords(metadataPrefix='oai_dc')

yields following error: HTTPError: 502 Server Error: Bad Gateway for url: http://elis.da.ulcc.ac.uk/cgi/oai2?

geekdinazor commented 1 year ago

I think this archive was gone. Maybe referring long term archives like Zenodo or Arxiv is more appropriate for demo/documentation.

Like:

>>> from sickle import Sickle
>>> sickle = Sickle('https://zenodo.org/oai2d')
>>> records = sickle.ListRecords(metadataPrefix='oai_dc')
>>> records.next()
<Record oai:zenodo.org:3739219>