Skip to content

Instantly share code, notes, and snippets.

View tobiadolph's full-sized avatar

Tobias Weber tobiadolph

  • Leibniz Rechenzentrum der BAdW
View GitHub Profile
@rlskoeser
rlskoeser / oaipmh-count.py
Last active July 19, 2024 11:18
Script to count records returned by an OAI-PMH provider
#!/usr/bin/env python
"""
A simple command line script to count the number of records returned by an OAI-PMH provider
OAI-PMH protocol documentation: https://www.openarchives.org/OAI/openarchivesprotocol.html
To install dependencies:
pip install lxml requests beautifulsoup4