summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-02-06 11:59:20 -0800
committerBryan Newbold <bnewbold@robocracy.org>2020-02-06 11:59:20 -0800
commit5d37678b594f85eca07db60db830af94fa570482 (patch)
treeaf0dba2d5266c9700302653766fbf0f160e7dc73
parenteac269a36d648db8712eb4fda4c0a896d5f4dcbc (diff)
downloadfatcat-5d37678b594f85eca07db60db830af94fa570482.tar.gz
fatcat-5d37678b594f85eca07db60db830af94fa570482.zip
add mag and s2 as trusted link sources
-rw-r--r--python/fatcat_tools/importers/ingest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_tools/importers/ingest.py b/python/fatcat_tools/importers/ingest.py
index 17dafe91..17e2d566 100644
--- a/python/fatcat_tools/importers/ingest.py
+++ b/python/fatcat_tools/importers/ingest.py
@@ -61,7 +61,7 @@ class IngestFileResultImporter(EntityImporter):
self.counts['skip-ingest_request_source'] += 1
return False
if source.startswith('arabesque'):
- if row['request'].get('link_source') not in ('arxiv', 'pmc', 'unpaywall', 'doi'):
+ if row['request'].get('link_source') not in ('arxiv', 'pmc', 'unpaywall', 'doi', 'mag', 's2'):
self.counts['skip-arabesque-source'] += 1
return False
if source.startswith('savepapernow'):