From 2b5cfb73097f17f383457380e36bf977cd0da5ed Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 22 Jan 2021 19:31:50 -0800 Subject: bug fix: actually fetch/include HTML fulltext --- fatcat_scholar/work_pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fatcat_scholar/work_pipeline.py b/fatcat_scholar/work_pipeline.py index ea33a01..fd85089 100644 --- a/fatcat_scholar/work_pipeline.py +++ b/fatcat_scholar/work_pipeline.py @@ -317,7 +317,7 @@ class WorkPipeline: html_fulltext: Optional[Any] = None for ident in pref_idents: release = release_dict[ident] - if not release.files: + if not (release.files or release.webcaptures): continue for fe in release.files: if not fe.sha1 or fe.mimetype not in (None, "application/pdf"): -- cgit v1.2.3