From e865b395f945e5d97a99ce269f23957cae01feaa Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 3 Feb 2020 20:15:09 -0800 Subject: grobid petabox: fix fetch body/content --- python/sandcrawler/grobid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/sandcrawler/grobid.py b/python/sandcrawler/grobid.py index cbb499d..08e3a96 100644 --- a/python/sandcrawler/grobid.py +++ b/python/sandcrawler/grobid.py @@ -135,7 +135,7 @@ class GrobidWorker(SandcrawlerWorker): source=record, key=default_key, ) - blob = resp.body + blob = resp.content else: raise ValueError("not a CDX (wayback) or petabox (archive.org) dict; not sure how to proceed") if not blob: -- cgit v1.2.3