From 5d37678b594f85eca07db60db830af94fa570482 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 6 Feb 2020 11:59:20 -0800 Subject: add mag and s2 as trusted link sources --- python/fatcat_tools/importers/ingest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') 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'): -- cgit v1.2.3