Skip to content

Instantly share code, notes, and snippets.

@edsu
Last active October 3, 2025 19:28
Show Gist options
  • Save edsu/92b4b3e5f6e486a23b398a070ab43c28 to your computer and use it in GitHub Desktop.
Save edsu/92b4b3e5f6e486a23b398a070ab43c28 to your computer and use it in GitHub Desktop.
import dotenv
from podbucket import oai
from podbucket.oai import XML_NS
dotenv.load_dotenv()
for count, rec in enumerate(oai.list_records("503")):
ds = rec.find(".//oai:header/oai:datestamp", namespaces=XML_NS).text
print(ds, count)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment