aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/transforms
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-07-12 16:17:57 -0700
committerBryan Newbold <bnewbold@robocracy.org>2022-07-12 16:17:57 -0700
commit1975b3267aa20925bb28598a57517a530458b538 (patch)
tree93d94a2cea196e5ea1940717cbec0d3f6c8c178d /python/fatcat_tools/transforms
parent3269ace124d9fcc886caa1bb9925a63cea869ba5 (diff)
downloadfatcat-1975b3267aa20925bb28598a57517a530458b538.tar.gz
fatcat-1975b3267aa20925bb28598a57517a530458b538.zip
ingest: DOAJ article URLs
Diffstat (limited to 'python/fatcat_tools/transforms')
-rw-r--r--python/fatcat_tools/transforms/ingest.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/fatcat_tools/transforms/ingest.py b/python/fatcat_tools/transforms/ingest.py
index cbf9e9bf..d60f9467 100644
--- a/python/fatcat_tools/transforms/ingest.py
+++ b/python/fatcat_tools/transforms/ingest.py
@@ -85,6 +85,10 @@ def release_ingest_request(
url = "https://doi.org/{}".format(release.ext_ids.doi.lower())
link_source = "doi"
link_source_id = release.ext_ids.doi.lower()
+ elif release.ext_ids.doaj:
+ url = "https://doaj.org/article/{}".format(release.ext_ids.doaj.lower())
+ link_source = "doaj"
+ link_source_id = release.ext_ids.doaj.lower()
if not url:
return None