aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/sandcrawler/ia.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/sandcrawler/ia.py b/python/sandcrawler/ia.py
index d334d24..dc9aae5 100644
--- a/python/sandcrawler/ia.py
+++ b/python/sandcrawler/ia.py
@@ -1101,7 +1101,7 @@ class SavePageNowClient:
request_url,
final_json["original_url"],
final_json["timestamp"],
- final_json["resources"],
+ final_json.get("resources") or None,
)
else:
if final_json["status"] == "pending":