Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Doc for disabling download handler

Julia Medinab9e2aad874ae
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