From 1975b3267aa20925bb28598a57517a530458b538 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 12 Jul 2022 16:17:57 -0700 Subject: ingest: DOAJ article URLs --- python/fatcat_tools/transforms/ingest.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'python/fatcat_tools/transforms') 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 -- cgit v1.2.3