Skip to content

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

updated Scrapy architecture doc by adding reference to Scheduler middlewares. refs #31

Pablo Hoffman931c29eabcd7
diff --git a/scrapy/trunk/docs/topics/_images/scrapy_architecture.odg b/scrapy/trunk/docs/topics/_images/scrapy_architecture.odg
index 0e7e6d0fb..90b67c405 100644
Binary files a/scrapy/trunk/docs/topics/_images/scrapy_architecture.odg and b/scrapy/trunk/docs/topics/_images/scrapy_architecture.odg differ
diff --git a/scrapy/trunk/docs/topics/_images/scrapy_architecture.png b/scrapy/trunk/docs/topics/_images/scrapy_architecture.png
index f2864b785..a591d4126 100644
Binary files a/scrapy/trunk/docs/topics/_images/scrapy_architecture.png and b/scrapy/trunk/docs/topics/_images/scrapy_architecture.png differ
diff --git a/scrapy/trunk/docs/topics/architecture.rst b/scrapy/trunk/docs/topics/architecture.rst
index e61c72ef6..9fb9c0a02 100644
--- a/scrapy/trunk/docs/topics/architecture.rst
+++ b/scrapy/trunk/docs/topics/architecture.rst
@@ -18,7 +18,7 @@ also described below.
.. image:: _images/scrapy_architecture.png
:width: 700
- :height: 468
+ :height: 494
:alt: Scrapy architecture
Components
@@ -77,6 +77,14 @@ requests). They provide a convenient mechanism for extending Scrapy
functionality by plugging custom code. For more information see
:ref:`topics-spider-middleware`.
+Scheduler middlewares
+---------------------
+
+Spider middlewares are specific hooks that sit between the Engine and the
+Scheduler and process requests when they pass from the Engine to the Scheduler
+and vice-versa. They provide a convenient mechanism for extending Scrapy
+functionality by plugging custom code.
+
Data flow
=========