aboutsummaryrefslogtreecommitdiffstats
path: root/python/persist_tool.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-01-14 16:05:41 -0800
committerBryan Newbold <bnewbold@archive.org>2020-01-14 16:05:41 -0800
commitba6f16a02cfde0e4acb499c00b456b42472c0b00 (patch)
tree9b27d9982e61ee97a82181249c0f9723980a4beb /python/persist_tool.py
parent21599839802b8ef3a84ffe90855f7bceaaa12a0d (diff)
downloadsandcrawler-ba6f16a02cfde0e4acb499c00b456b42472c0b00.tar.gz
sandcrawler-ba6f16a02cfde0e4acb499c00b456b42472c0b00.zip
more ftp status 226 support
Diffstat (limited to 'python/persist_tool.py')
-rwxr-xr-xpython/persist_tool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/persist_tool.py b/python/persist_tool.py
index 29345e2..a91d4c3 100755
--- a/python/persist_tool.py
+++ b/python/persist_tool.py
@@ -27,7 +27,7 @@ def run_cdx(args):
pusher = CdxLinePusher(
worker,
args.cdx_file,
- filter_http_statuses=[200],
+ filter_http_statuses=[200, 226],
filter_mimetypes=filter_mimetypes,
#allow_octet_stream
batch_size=200,