1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-23 06:44:06 +00:00

Update extensions.rst

#2759
This commit is contained in:
Chuan Jin 2017-06-05 23:31:37 +02:00 committed by GitHub
parent fad6b70d92
commit 3f8542eb56

View File

@ -277,9 +277,10 @@ CLOSESPIDER_ITEMCOUNT
Default: ``0``
An integer which specifies a number of items. If the spider scrapes more than
that amount if items and those items are passed by the item pipeline, the
spider will be closed with the reason ``closespider_itemcount``. If zero (or
non set), spiders won't be closed by number of passed items.
that amount and those items are passed by the item pipeline, the
spider will be closed with the reason ``closespider_itemcount``, requests which
are currently in the downloader queue (up to CONCURRENT_REQUEST requests) are still processed.
If zero (or non set), spiders won't be closed by number of passed items.
.. setting:: CLOSESPIDER_PAGECOUNT