Skip to content

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

temporal fix to avoid exceptions before commit in decobot

olveyra0f49c7c0d4ee
diff --git a/scrapy/trunk/scrapy/contrib/adaptors.py b/scrapy/trunk/scrapy/contrib/adaptors.py
index 565b93728..d9559de2f 100644
--- a/scrapy/trunk/scrapy/contrib/adaptors.py
+++ b/scrapy/trunk/scrapy/contrib/adaptors.py
@@ -33,6 +33,9 @@ class ExtractAdaptor(ExtendedAdaptor):
def function(self, item, location, **pipeargs):
return self.do(self.extract, location, **pipeargs)
+ def _extract(self, location, **kwargs):
+ return self.extract(location, **kwargs)
+
def extract(self, location, **kwargs):
"""Extract a list of strings from the location passed.
Receives a list of XPathSelectors or an XPathSelector,