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 6e90fbf..4da07af 100644
--- a/python/sandcrawler/ia.py
+++ b/python/sandcrawler/ia.py
@@ -935,7 +935,7 @@ class SavePageNowClient:
if status in ("error:invalid-url", "error:not-found",
"error:invalid-host-resolution", "error:gateway-timeout"):
status = status.replace("error:", "")
- elif status == "error:no-access":
+ elif status in ("error:no-access", "error:forbidden"):
status = "forbidden"
elif status == "error:user-session-limit":
raise SavePageNowBackoffError("SPNv2 user-session-limit")