diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2022-07-12 16:17:57 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2022-07-12 16:17:57 -0700 |
commit | 1975b3267aa20925bb28598a57517a530458b538 (patch) | |
tree | 93d94a2cea196e5ea1940717cbec0d3f6c8c178d | |
parent | 3269ace124d9fcc886caa1bb9925a63cea869ba5 (diff) | |
download | fatcat-1975b3267aa20925bb28598a57517a530458b538.tar.gz fatcat-1975b3267aa20925bb28598a57517a530458b538.zip |
ingest: DOAJ article URLs
-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 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 |