summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/fatcat_tools/importers/datacite.py1
-rw-r--r--python/tests/import_datacite.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/python/fatcat_tools/importers/datacite.py b/python/fatcat_tools/importers/datacite.py
index 12e0beba..0de187fb 100644
--- a/python/fatcat_tools/importers/datacite.py
+++ b/python/fatcat_tools/importers/datacite.py
@@ -158,6 +158,7 @@ UNKNOWN_MARKERS_LOWER = set((v.lower() for v in UNKNOWN_MARKERS))
# TODO(martin): merge this with other maps and lookup functions, eventually.
LICENSE_SLUG_MAP = {
"//archaeologydataservice.ac.uk/advice/termsofuseandaccess.xhtml/": "ADS-UK",
+ "//archaeologydataservice.ac.uk/advice/termsofuseandaccess/": "ADS-UK",
"//arxiv.org/licenses/nonexclusive-distrib/1.0/": "ARXIV-1.0",
"//doi.wiley.com/10.1002/tdm_license_1.1/": "WILEY-TDM-1.1",
"//homepage.data-planet.com/terms-use/": "SAGE-DATA-PLANET",
diff --git a/python/tests/import_datacite.py b/python/tests/import_datacite.py
index d0d94b10..669a6984 100644
--- a/python/tests/import_datacite.py
+++ b/python/tests/import_datacite.py
@@ -330,6 +330,7 @@ def test_lookup_license_slug():
Case('http://homepage.data-planet.com/terms-use', 'SAGE-DATA-PLANET'),
Case('http://www.springer.com/tdm', 'SPRINGER-TDM'),
Case('https://archaeologydataservice.ac.uk/advice/termsOfUseAndAccess.xhtml', 'ADS-UK'),
+ Case('https://archaeologydataservice.ac.uk/advice/termsOfUseAndAccess', 'ADS-UK'),
Case('https://creativecommons.org/public-domain/cc0', 'CC-0'),
Case('https://creativecommons.org/publicdomain/zero/1.0', 'CC-0'),
Case('https://creativecommons.org/share-your-work/public-domain/cc0', 'CC-0'),