1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-24 00:04:09 +00:00

Merge pull request #2190 from stummjr/fix-docs

[MRG+1] Fix RANDOMIZE_DOWNLOAD_DELAY description in the docs
This commit is contained in:
Paul Tremberth 2016-08-31 11:51:47 +02:00 committed by GitHub
commit eedb6ce774

View File

@ -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