mirror of https://github.com/scrapy/scrapy.git
Merge pull request #1275 from ramiro/patch-2
Use call to `inspect_reponse()` that works on 0.24.x
This commit is contained in:
commit
cd0c2aaafc
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue