1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-23 16:24:18 +00:00

Doc for disabling download handler

This commit is contained in:
Julia Medina 2014-03-12 23:21:33 -03:00
parent 6573459481
commit b9e2aad874

View File

@ -380,6 +380,15 @@ A dict containing the request download handlers enabled by default in Scrapy.
You should never modify this setting in your project, modify
:setting:`DOWNLOAD_HANDLERS` instead.
If you want to disable any of the above download handlers you must define them
in your project's :setting:`DOWNLOAD_HANDLERS` setting and assign `None`
as their value. For example, if you want to disable the file download
handler::
DOWNLOAD_HANDLERS = {
'file': None,
}
.. setting:: DOWNLOAD_TIMEOUT
DOWNLOAD_TIMEOUT