aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/search.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-05-17 21:04:29 -0700
committerBryan Newbold <bnewbold@archive.org>2021-05-17 21:04:29 -0700
commitf767a344c1ed7722b79710c6f3c61d5802f78860 (patch)
tree8a4779f4c83687965a80127316274967f14f4685 /fatcat_scholar/search.py
parentf4ffc6863ec7d08a195cb8cb5370a153d093454e (diff)
downloadfatcat-scholar-f767a344c1ed7722b79710c6f3c61d5802f78860.tar.gz
fatcat-scholar-f767a344c1ed7722b79710c6f3c61d5802f78860.zip
iterate on PDF redirect links
Diffstat (limited to 'fatcat_scholar/search.py')
-rw-r--r--fatcat_scholar/search.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/search.py b/fatcat_scholar/search.py
index 2c02a58..b9ede1d 100644
--- a/fatcat_scholar/search.py
+++ b/fatcat_scholar/search.py
@@ -463,7 +463,7 @@ def get_es_scholar_doc(key: str) -> Optional[dict]:
return doc
-def lookup_fulltext_pdf(sha1: str) -> Optional[dict]:
+def lookup_fulltext_pdf(sha1: str) -> Optional[ScholarFulltext]:
"""
Fetch a document by fulltext file sha1, returning only the 'fulltext' sub-document.
"""