summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-22 12:21:23 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-22 12:21:23 -0700
commitba54b7522161f9b19727552cee1ad23e8d41d346 (patch)
treeadec5cf9c5d652f7f6a5ce6f4478d6aff41cb1db /python
parent77abede313c97eefc5cef16dabc3213df7000b16 (diff)
downloadfatcat-ba54b7522161f9b19727552cee1ad23e8d41d346.tar.gz
fatcat-ba54b7522161f9b19727552cee1ad23e8d41d346.zip
webface lookups for jstor, arxiv
Diffstat (limited to 'python')
-rw-r--r--python/fatcat_web/routes.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/fatcat_web/routes.py b/python/fatcat_web/routes.py
index 6c520344..6e1d2351 100644
--- a/python/fatcat_web/routes.py
+++ b/python/fatcat_web/routes.py
@@ -219,7 +219,8 @@ def webcapture_view(ident):
@app.route('/release/lookup', methods=['GET'])
def release_lookup():
extid = None
- for key in ('doi', 'wikidata_qid', 'pmid', 'pmcid', 'isbn13', 'core', 'ark', 'mag'):
+ for key in ('doi', 'wikidata_qid', 'pmid', 'pmcid', 'isbn13', 'jstor',
+ 'arxiv', 'core', 'ark', 'mag'):
if request.args.get(key):
extid = key
break