diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2020-12-17 20:32:03 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2020-12-17 20:32:03 -0800 |
commit | 60e022609cd3fbbf9634577149018592e680858d (patch) | |
tree | f79d5522e093f5fb82f8b72c48b998d9c48898c7 | |
parent | 67377db593244529fc235ad95aba8f4caa7441b8 (diff) | |
download | fatcat-60e022609cd3fbbf9634577149018592e680858d.tar.gz fatcat-60e022609cd3fbbf9634577149018592e680858d.zip |
add dblp as an ingest source and identifier
-rw-r--r-- | python/fatcat_tools/importers/ingest.py | 3 |
1 files changed, 2 insertions, 1 deletions
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 |