Skip to content

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

moved SpiderProfiler extension to scrapy.contrib_exp and removed references from documentation

Pablo Hoffman79851aefa645
diff --git a/docs/topics/extensions.rst b/docs/topics/extensions.rst
index af1c2ecd3..4a0016f83 100644
--- a/docs/topics/extensions.rst
+++ b/docs/topics/extensions.rst
@@ -165,7 +165,7 @@ how you :ref:`configure the downloader middlewares
>>> extensions.load()
>>> print extensions.disabled
{'MemoryDebugger': 'scrapy.contrib.webconsole.stats.MemoryDebugger',
- 'SpiderProfiler': 'scrapy.contrib.spider.profiler.SpiderProfiler',
+ 'MyExtension': 'myproject.extensions.MyExtension',
...
.. method:: load()
diff --git a/docs/topics/settings.rst b/docs/topics/settings.rst
index 89ab36c9c..9f832df41 100644
--- a/docs/topics/settings.rst
+++ b/docs/topics/settings.rst
@@ -838,16 +838,6 @@ A dict containing the scheduler middlewares enabled by default in Scrapy. You
should never modify this setting in your project, modify
:setting:`SCHEDULER_MIDDLEWARES` instead.
-.. setting:: SPIDERPROFILER_ENABLED
-
-SPIDERPROFILER_ENABLED
-----------------------
-
-Default: ``False``
-
-Enable the spider profiler. Warning: this could have a big impact in
-performance.
-
.. setting:: SPIDER_MIDDLEWARES
SPIDER_MIDDLEWARES
diff --git a/scrapy/contrib/spider/profiler.py b/scrapy/contrib_exp/spiderprofiler.py
similarity index 100%
rename from scrapy/contrib/spider/profiler.py
rename to scrapy/contrib_exp/spiderprofiler.py