From b38ee94ed9bde81eab96cf57962ad20b90c8c0c5 Mon Sep 17 00:00:00 2001 From: Jonathan de Bruin Date: Mon, 30 Oct 2023 10:32:44 +0100 Subject: [PATCH] Fix Zenodo service after Zenodo update (#70) --- datahugger/services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datahugger/services.py b/datahugger/services.py index 5f10f42..5844649 100644 --- a/datahugger/services.py +++ b/datahugger/services.py @@ -350,7 +350,7 @@ class ZenodoDataset(DatasetDownloader): For Zenodo records, new versions have new identifiers. """ - REGEXP_ID = r"zenodo\.org\/record\/(?P\d+).*" + REGEXP_ID = r"zenodo\.org\/record(s*)\/(?P\d+).*" # the base entry point of the REST API API_URL = "https://zenodo.org/api/"