diff options
-rw-r--r-- | python/sandcrawler/grobid.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/sandcrawler/grobid.py b/python/sandcrawler/grobid.py index 6c8450b..8c3aec1 100644 --- a/python/sandcrawler/grobid.py +++ b/python/sandcrawler/grobid.py @@ -41,7 +41,8 @@ class GrobidClient(object): except requests.Timeout: return { 'status': 'error-timeout', - 'status': 'GROBID request (HTTP POST) timeout', + 'status_code': -4, # heritrix3 "HTTP timeout" code + 'error_msg': 'GROBID request (HTTP POST) timeout', } info = dict( |