aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-09-30 17:54:54 -0700
committerBryan Newbold <bnewbold@archive.org>2021-09-30 17:54:54 -0700
commit3247dca63af8fecc07e7dfb79063e9c881490d88 (patch)
treea4a273cca71777d0fdfd26aa148507a2b24fc535
parent8e26ab264190b998e9035f0883f00340ca220822 (diff)
downloadsandcrawler-3247dca63af8fecc07e7dfb79063e9c881490d88.tar.gz
sandcrawler-3247dca63af8fecc07e7dfb79063e9c881490d88.zip
fix typo with spn_cdx_retry_sec arg
-rw-r--r--python/sandcrawler/ingest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/sandcrawler/ingest.py b/python/sandcrawler/ingest.py
index ba478ea..7b7a191 100644
--- a/python/sandcrawler/ingest.py
+++ b/python/sandcrawler/ingest.py
@@ -64,7 +64,7 @@ class IngestFileWorker(SandcrawlerWorker):
self.wayback_client = WaybackClient()
self.spn_client = kwargs.get('spn_client')
if not self.spn_client:
- self.spn_client = SavePageNowClient(kwargs.get('spn_cdx_retry_sec', 9.0))
+ self.spn_client = SavePageNowClient(spn_cdx_retry_sec=kwargs.get('spn_cdx_retry_sec', 9.0))
self.grobid_client = kwargs.get('grobid_client')
if not self.grobid_client:
self.grobid_client = GrobidClient()