Skip to content

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

added module directive to spidermw documentation

Ismael Carnalese3df11e5bb57
diff --git a/docs/topics/spider-middleware.rst b/docs/topics/spider-middleware.rst
index 682f9d696..9f5881b62 100644
--- a/docs/topics/spider-middleware.rst
+++ b/docs/topics/spider-middleware.rst
@@ -55,6 +55,8 @@ Writing your own spider middleware
Writing your own spider middleware is easy. Each middleware component is a
single Python class that defines one or more of the following methods:
+.. module:: scrapy.contrib.spidermiddleware
+
.. class:: SpiderMiddleware
.. method:: process_spider_input(response, spider)