diff options
author | bnewbold <bnewbold@archive.org> | 2022-07-25 21:09:25 +0000 |
---|---|---|
committer | bnewbold <bnewbold@archive.org> | 2022-07-25 21:09:25 +0000 |
commit | 5ecf72cbb488a9a50eb869ea55b4c2bfc1440731 (patch) | |
tree | 88b2a3a2ad2919cbef4f6acfdd5b986bda0baa72 /python/fatcat_tools/transforms | |
parent | b3eddfc398129f2fdcf4737849d436327a67a74a (diff) | |
parent | b12d4f0bde96bfe39df1cc94a993da4b25e53304 (diff) | |
download | fatcat-5ecf72cbb488a9a50eb869ea55b4c2bfc1440731.tar.gz fatcat-5ecf72cbb488a9a50eb869ea55b4c2bfc1440731.zip |
Merge branch 'bnewbold-dblp-iteration' into 'master'
dblp import iteration
See merge request webgroup/fatcat!141
Diffstat (limited to 'python/fatcat_tools/transforms')
-rw-r--r-- | python/fatcat_tools/transforms/ingest.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/python/fatcat_tools/transforms/ingest.py b/python/fatcat_tools/transforms/ingest.py index d60f9467..1a19a651 100644 --- a/python/fatcat_tools/transforms/ingest.py +++ b/python/fatcat_tools/transforms/ingest.py @@ -89,6 +89,10 @@ def release_ingest_request( url = "https://doaj.org/article/{}".format(release.ext_ids.doaj.lower()) link_source = "doaj" link_source_id = release.ext_ids.doaj.lower() + elif release.ext_ids.hdl: + url = "https://hdl.handle.net/{}".format(release.ext_ids.hdl.lower()) + link_source = "hdl" + link_source_id = release.ext_ids.hdl.lower() if not url: return None |