Skip to content

Commit cd0c2aa

Browse files
committed
Merge pull request scrapy#1275 from ramiro/patch-2
Use call to `inspect_reponse()` that works on 0.24.x
2 parents 13fab6e + 66ba61c commit cd0c2aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/topics/shell.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ Here's an example of how you would call it from your spider::
186186
# We want to inspect one specific response.
187187
if ".org" in response.url:
188188
from scrapy.shell import inspect_response
189-
inspect_response(response)
189+
inspect_response(response, self)
190190

191191
# Rest of parsing code.
192192

0 commit comments

Comments
 (0)