Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

update docs

guillermo-bondonno59782d73088e
diff --git a/docs/topics/extensions.rst b/docs/topics/extensions.rst
index f7b2f3799..a503fd746 100644
--- a/docs/topics/extensions.rst
+++ b/docs/topics/extensions.rst
@@ -317,6 +317,18 @@ crawls more than that, the spider will be closed with the reason
``closespider_pagecount``. If zero (or non set), spiders won't be closed by
number of crawled responses.
+.. setting:: CLOSESPIDER_PAGECOUNT_NO_ITEM
+
+CLOSESPIDER_PAGECOUNT_NO_ITEM
+"""""""""""""""""""""
+
+Default: ``0``
+
+An integer which specifies the maximum number of consecutive responses to crawl without items scraped. If the spider
+crawls more consecutive responses than that and no items are scraped in the meantime, the spider will be closed with the reason
+``closespider_pagecount_no_item``. If zero (or non set), spiders won't be closed by
+number of crawled responses with no items.
+
.. setting:: CLOSESPIDER_ERRORCOUNT
CLOSESPIDER_ERRORCOUNT