aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/importers
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-10-13 15:39:05 -0700
committerBryan Newbold <bnewbold@robocracy.org>2021-10-13 16:21:31 -0700
commite3f892877222309db1c98009d766c658bcb913bb (patch)
treeb3e7da402b1492f02e85e01cede124ab97b1b3fb /python/fatcat_tools/importers
parent9a333ff02d6b0eb26adb963934557529353de9a4 (diff)
downloadfatcat-e3f892877222309db1c98009d766c658bcb913bb.tar.gz
fatcat-e3f892877222309db1c98009d766c658bcb913bb.zip
dblp import: fix typos in identifier parsing
Diffstat (limited to 'python/fatcat_tools/importers')
-rw-r--r--python/fatcat_tools/importers/dblp_release.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/python/fatcat_tools/importers/dblp_release.py b/python/fatcat_tools/importers/dblp_release.py
index daecd765..c64e8b09 100644
--- a/python/fatcat_tools/importers/dblp_release.py
+++ b/python/fatcat_tools/importers/dblp_release.py
@@ -495,10 +495,9 @@ class DblpReleaseImporter(EntityImporter):
doi = clean_doi(url)
elif 'wikidata.org/entity/Q' in url and not wikidata_qid:
wikidata_qid = clean_wikidata_qid(url)
- elif '://arxiv.org/abs/' in url and not wikidata_qid:
+ elif '://arxiv.org/abs/' in url and not arxiv_id:
arxiv_id = url.replace('http://', '').replace('https://', '').replace('arxiv.org/abs/', '')
arxiv_id = clean_arxiv_id(arxiv_id)
- wikidata_qid = clean_wikidata_qid(url)
return fatcat_openapi_client.ReleaseExtIds(
dblp=dblp_key,