diff --git a/scrapy/shell.py b/scrapy/shell.py index 6f94635a1..80b625633 100644 --- a/scrapy/shell.py +++ b/scrapy/shell.py @@ -164,7 +164,7 @@ class Shell(object): def inspect_response(response, spider): """Open a shell to inspect the given response""" - Shell(spider.crawler).start(response=response) + Shell(spider.crawler).start(response=response, spider=spider) def _request_deferred(request):