From 262990a3cb77c790fe62c325415edf2416b840f0 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 26 Oct 2021 15:15:35 -0700 Subject: bugfix: was setting 'from' parameter as a tuple, not a string --- python/sandcrawler/ia.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/sandcrawler/ia.py b/python/sandcrawler/ia.py index caa6e79..45db393 100644 --- a/python/sandcrawler/ia.py +++ b/python/sandcrawler/ia.py @@ -302,7 +302,7 @@ class CdxApiClient: } if max_age_days: since = datetime.date.today() - datetime.timedelta(days=max_age_days) - params['from'] = '%04d%02d%02d' % (since.year, since.month, since.day), + params['from'] = '%04d%02d%02d' % (since.year, since.month, since.day) if closest: params['closest'] = closest params['sort'] = "closest" -- cgit v1.2.3