From e7061f7a4193ea4bd7587c6cac5c9a52f847bb58 Mon Sep 17 00:00:00 2001 From: Paul Tremberth Date: Tue, 6 Jun 2017 10:47:43 +0200 Subject: [PATCH] Reformat a bit --- docs/topics/extensions.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/topics/extensions.rst b/docs/topics/extensions.rst index d24f579ee..03c5f2316 100644 --- a/docs/topics/extensions.rst +++ b/docs/topics/extensions.rst @@ -278,8 +278,9 @@ Default: ``0`` An integer which specifies a number of items. If the spider scrapes more than 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. +spider will be closed with the reason ``closespider_itemcount``. +Requests which are currently in the downloader queue (up to +:setting:`CONCURRENT_REQUEST` requests) are still processed. If zero (or non set), spiders won't be closed by number of passed items. .. setting:: CLOSESPIDER_PAGECOUNT