mirror of https://github.com/scrapy/scrapy.git
Merge pull request #719 from Digenis/master
document spider.closed() shortcut
This commit is contained in:
commit
7752074c51
|
|
@ -195,6 +195,11 @@ Spider
|
|||
populating the spider argument with the :attr:`name` of this
|
||||
spider. For more information see :ref:`topics-logging`.
|
||||
|
||||
.. method:: closed(reason)
|
||||
|
||||
Called when the spider closes. This method provides a shortcut to
|
||||
signals.connect() for the :signal:`spider_closed` signal.
|
||||
|
||||
|
||||
Spider example
|
||||
~~~~~~~~~~~~~~
|
||||
|
|
|
|||
Loading…
Reference in New Issue