diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2020-02-06 11:59:20 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2020-02-06 11:59:20 -0800 |
commit | 5d37678b594f85eca07db60db830af94fa570482 (patch) | |
tree | af0dba2d5266c9700302653766fbf0f160e7dc73 /python | |
parent | eac269a36d648db8712eb4fda4c0a896d5f4dcbc (diff) | |
download | fatcat-5d37678b594f85eca07db60db830af94fa570482.tar.gz fatcat-5d37678b594f85eca07db60db830af94fa570482.zip |
add mag and s2 as trusted link sources
Diffstat (limited to 'python')
-rw-r--r-- | python/fatcat_tools/importers/ingest.py | 2 |
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'): |