Skip to content

Commit

Permalink
Fix Zenodo service after Zenodo update (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
J535D165 authored Oct 30, 2023
1 parent d759a44 commit b38ee94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datahugger/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ class ZenodoDataset(DatasetDownloader):
For Zenodo records, new versions have new identifiers.
"""

REGEXP_ID = r"zenodo\.org\/record\/(?P<record_id>\d+).*"
REGEXP_ID = r"zenodo\.org\/record(s*)\/(?P<record_id>\d+).*"

# the base entry point of the REST API
API_URL = "https://zenodo.org/api/"
Expand Down

0 comments on commit b38ee94

Please sign in to comment.