Closed johenglisch closed 3 years ago
Limit on the number of reviewers is due to the repos being private.
Hm. Maybe we should
https://zenodo.org/oai2d?verb=ListRecords&set=user-lexibank&metadataPrefix=oai_dc has these elements:
<dc:relation>url:https://github.com/lexibank/papuanvoices/tree/v1.0</dc:relation>
And the version tag could be plugged into URLs of this form: https://github.com/lexibank/papuanvoices/archive/refs/tags/v1.0.zip
Yeah, that looks useful – I'll try that, thanks
Thanks to all of you. I'll let you decide this, as these downloads are not my strong point, if you are okay with that.
Okay, works in theory. Unfortunately, only in theory again… Apparently, some datasets don't show up in the metadata round-up… (like allenbai; 10.5281/zenodo.5115649 for instance)
And I double-checked: allenbai is part of the Lexibank community. The DOI checks out. It just doesn't show up in the xml.
Ah, OAI PMH comes in batches. You have to check the resumption token, and provide it with the next request. See here: https://github.com/dlce-eva/zenodoclient/blob/35d20c68221cb30ef0a699be39d97a08130389b8/src/zenodoclient/oai.py#L96-L121
I think this should be ready for merge now
So, I got Zenodo downloads working – in theory. Two problems:
(also, why doesn't Github allow me to ping multiple people using the Reviewers system…?)