Scrapy, a fast high-level web crawling & scraping framework for Python.
some minor fixes to scheduler middleware doc
Pablo Hoffmandd662e09d813
diff --git a/docs/experimental/scheduler-middleware.rst b/docs/experimental/scheduler-middleware.rstindex dff8dede2..8fb6358a2 100644--- a/docs/experimental/scheduler-middleware.rst+++ b/docs/experimental/scheduler-middleware.rst@@ -25,7 +25,7 @@ The :setting:`SCHEDULER_MIDDLEWARES` setting is merged with the:setting:`SCHEDULER_MIDDLEWARES_BASE` setting defined in Scrapy (and not meantto be overridden) and then sorted by order to get the final sorted list ofenabled middlewares: the first middleware is the one closer to the engine and-the last is the one closer to the spider.+the last is the one closer to the scheduler.To decide which order to assign to your middleware see the:setting:`SCHEDULER_MIDDLEWARES_BASE` setting and pick a value according to@@ -38,9 +38,9 @@ If you want to disable a builtin middleware (the ones defined inin your project :setting:`SCHEDULER_MIDDLEWARES` setting and assign `None` as itsvalue. For example, if you want to disable the duplicates filter middleware::- SPIDER_MIDDLEWARES = {+ SCHEDULER_MIDDLEWARES = {'myproject.middlewares.CustomSchedulerMiddleware': 543,- 'scrapy.contrib.spidermiddleware.duplicatesfilter.DuplicatesFilterMiddleware: None,+ 'scrapy.contrib.schedulermiddleware.duplicatesfilter.DuplicatesFilterMiddleware: None,}Finally, keep in mind that some middlewares may need to be enabled through a