From d61650d843f8002b79c0d3f6d203ee0fa79af4aa Mon Sep 17 00:00:00 2001 From: Valdir Stumm Junior Date: Fri, 19 Aug 2016 18:24:32 -0300 Subject: [PATCH] fix RANDOMIZE_DOWNLOAD_DELAY description in the docs --- docs/topics/settings.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/topics/settings.rst b/docs/topics/settings.rst index 56734368f..8540308fe 100644 --- a/docs/topics/settings.rst +++ b/docs/topics/settings.rst @@ -504,8 +504,7 @@ supported. Example:: This setting is also affected by the :setting:`RANDOMIZE_DOWNLOAD_DELAY` setting (which is enabled by default). By default, Scrapy doesn't wait a fixed -amount of time between requests, but uses a random interval between 0.5 and 1.5 -* :setting:`DOWNLOAD_DELAY`. +amount of time between requests, but uses a random interval between 0.5 * :setting:`DOWNLOAD_DELAY` and 1.5 * :setting:`DOWNLOAD_DELAY`. When :setting:`CONCURRENT_REQUESTS_PER_IP` is non-zero, delays are enforced per ip address instead of per domain. @@ -925,8 +924,7 @@ RANDOMIZE_DOWNLOAD_DELAY Default: ``True`` -If enabled, Scrapy will wait a random amount of time (between 0.5 and 1.5 -* :setting:`DOWNLOAD_DELAY`) while fetching requests from the same +If enabled, Scrapy will wait a random amount of time (between 0.5 * :setting:`DOWNLOAD_DELAY` and 1.5 * :setting:`DOWNLOAD_DELAY`) while fetching requests from the same website. This randomization decreases the chance of the crawler being detected (and