aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/sandcrawler/ia.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/python/sandcrawler/ia.py b/python/sandcrawler/ia.py
index 053fbbf..945c136 100644
--- a/python/sandcrawler/ia.py
+++ b/python/sandcrawler/ia.py
@@ -560,12 +560,12 @@ class WaybackClient:
start_url=start_url,
hit=True,
status="success",
- terminal_url=resource.revisit_cdx.url,
- terminal_dt=resource.revisit_cdx.datetime,
- terminal_status_code=resource.revisit_cdx.status_code,
+ terminal_url=cdx_row.url,
+ terminal_dt=cdx_row.datetime,
+ terminal_status_code=resource.revisit_cdx.status_code, # ?
body=resource.body,
cdx=cdx_row,
- revisit_cdx=revisit_cdx,
+ revisit_cdx=resource.revisit_cdx,
)
if cdx_row.status_code in (200, 226):