Skip to content

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

Rephrasing documentation for image and file pipelines (#4252)

1um0s14d4428e705e
diff --git a/docs/topics/media-pipeline.rst b/docs/topics/media-pipeline.rst
index a40682e5b..332a14eb7 100644
--- a/docs/topics/media-pipeline.rst
+++ b/docs/topics/media-pipeline.rst
@@ -97,7 +97,6 @@ For Files Pipeline, use::
ITEM_PIPELINES = {'scrapy.pipelines.files.FilesPipeline': 1}
-
.. note::
You can also use both the Files and Images Pipeline at the same time.
@@ -578,4 +577,12 @@ above::
item['image_paths'] = image_paths
return item
+
+To enable your custom media pipeline component you must add its class import path to the
+:setting:`ITEM_PIPELINES` setting, like in the following example::
+
+ ITEM_PIPELINES = {
+ 'myproject.pipelines.MyImagesPipeline': 300
+ }
+
.. _MD5 hash: https://en.wikipedia.org/wiki/MD5