per_slot_settings(docs): settings 3

This commit is contained in:
Georgiy Zatserklianyi 2023-02-09 14:52:28 +02:00
parent 5208d436ae
commit 474087be6f
1 changed files with 8 additions and 2 deletions

View File

@ -793,9 +793,15 @@ Allows to define concurrency/delay parameters on per slot(domain) basis:
'randomize_delay': False
}
}
wrapper around :func:`~scrapy.core.downloader.Slot`
.. autofunction:: scrapy.core.downloader.Slot
.. note::
For other downloader slots default settings values will be used:
- ``DOWNLOAD_DELAY`` -> ``delay``
- ``CONCURRENT_REQUESTS_PER_DOMAIN`` -> ``concurency``
- ``RANDOMIZE_DOWNLOAD_DELAY`` -> ``randomize_delay``
.. setting:: DOWNLOAD_TIMEOUT