From b9e2aad874ae82d8347cdfb44d113cd1bc613bf3 Mon Sep 17 00:00:00 2001 From: Julia Medina Date: Wed, 12 Mar 2014 23:21:33 -0300 Subject: [PATCH] Doc for disabling download handler --- docs/topics/settings.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/topics/settings.rst b/docs/topics/settings.rst index 531862d9d..12dda4322 100644 --- a/docs/topics/settings.rst +++ b/docs/topics/settings.rst @@ -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