From be805be033168eb6cba55b76f008bf813e6c169c Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 13 Apr 2020 18:41:14 -0700 Subject: deliver_file2disk: handle another wayback error condition --- bin/deliver_file2disk.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') diff --git a/bin/deliver_file2disk.py b/bin/deliver_file2disk.py index e5f13c0..dd9ab30 100755 --- a/bin/deliver_file2disk.py +++ b/bin/deliver_file2disk.py @@ -149,6 +149,8 @@ class DeliverFatcatDisk: return ('wayback-error', None) except requests.exceptions.TooManyRedirects: return ('too-many-redirects', None) + except requests.exceptions.ChunkedEncodingError: + return ('chunked-encoding', None) if resp.status_code != 200: return ('fetch:{}'.format(resp.status_code), None) else: -- cgit v1.2.3