scrapy/scrapy — pull request #557 by darkrho (2014-01-23 15:14:09+00:00)
Title: Expose current crawler in the scrapy shell.

Currently the way to access the crawler in the shell is by import the object from the module `scrapy.project`. But, that module is currently deprecated as stated in the same module.

This pull request expose the current `crawler` object in the shell making it easily accessible which is very useful to interact with middlewares, extensions and other classes that requires the `crawler` object.