fix: make retry_blocked_request take the response as well

This commit is contained in:
Karim shoair
2026-01-11 22:54:17 +02:00
parent 736873a7c6
commit 5a11c2466b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ class Spider(ABC):
return True
return False
async def retry_blocked_request(self, request: Request) -> Request:
async def retry_blocked_request(self, request: Request, response: "Response") -> Request:
"""Users should override this to prepare the blocked request before retrying, if needed."""
return request