Scrapy, a fast high-level web crawling & scraping framework for Python.
update documentation to recent pydispatcher import path change
Daniel Granad5d2c5c92415
diff --git a/docs/topics/extensions.rst b/docs/topics/extensions.rstindex f7b189944..62524658e 100644--- a/docs/topics/extensions.rst+++ b/docs/topics/extensions.rst@@ -81,7 +81,7 @@ enabled.Let's take a look at the following example extension which just logs a messageeverytime a domain/spider is opened and closed::- from pydispatch import dispatcher+ from scrapy.xlib.pydispatch import dispatcherfrom scrapy.core import signalsclass SpiderOpenCloseLogging(object):diff --git a/docs/topics/item-pipeline.rst b/docs/topics/item-pipeline.rstindex fbf67c3c5..6b97a0657 100644--- a/docs/topics/item-pipeline.rst+++ b/docs/topics/item-pipeline.rst@@ -66,7 +66,7 @@ that were already processed. Let say that our items has an unique id, but ourspider returns multiples items with the same id::- from pydispatch import dispatcher+ from scrapy.xlib.pydispatch import dispatcherfrom scrapy.core import signalsfrom scrapy.core.exceptions import DropItemdiff --git a/docs/topics/webconsole.rst b/docs/topics/webconsole.rstindex c525a121f..646439122 100644--- a/docs/topics/webconsole.rst+++ b/docs/topics/webconsole.rst@@ -58,7 +58,7 @@ Example web console extensionHere's an example of a simple web console extension that just displays a "Helloworld!" text::- from pydispatch import dispatcher+ from scrapy.xlib.pydispatch import dispatcherfrom scrapy.management.web import webconsole_discover_moduleclass HelloWorldConsole(object):