Skip to content

Commit

Permalink
Merge pull request #1275 from ramiro/patch-2
Browse files Browse the repository at this point in the history
Use call to `inspect_reponse()` that works on 0.24.x
  • Loading branch information
dangra committed Jun 10, 2015
2 parents 13fab6e + 66ba61c commit cd0c2aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/topics/shell.rst
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ Here's an example of how you would call it from your spider::
# We want to inspect one specific response.
if ".org" in response.url:
from scrapy.shell import inspect_response
inspect_response(response)
inspect_response(response, self)

# Rest of parsing code.

Expand Down

0 comments on commit cd0c2aa

Please sign in to comment.