From 60e022609cd3fbbf9634577149018592e680858d Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 17 Dec 2020 20:32:03 -0800 Subject: add dblp as an ingest source and identifier --- python/fatcat_tools/importers/ingest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'python') diff --git a/python/fatcat_tools/importers/ingest.py b/python/fatcat_tools/importers/ingest.py index 44e6dc98..cd3d53f6 100644 --- a/python/fatcat_tools/importers/ingest.py +++ b/python/fatcat_tools/importers/ingest.py @@ -37,6 +37,7 @@ class IngestFileResultImporter(EntityImporter): 's2-corpus', 's2', 'doaj', + 'dblp', ] if kwargs.get('skip_source_allowlist', False): self.ingest_request_source_allowlist = [] @@ -128,7 +129,7 @@ class IngestFileResultImporter(EntityImporter): release_ident = fatcat.get('release_ident') elif request.get('ext_ids'): # if no fatcat ident, try extids - for extid_type in ('doi', 'pmid', 'pmcid', 'arxiv'): + for extid_type in ('doi', 'pmid', 'pmcid', 'arxiv', 'doaj', 'dblp'): extid = request['ext_ids'].get(extid_type) if not extid: continue -- cgit v1.2.3