ScrapedItem cannot have a constructor that receives the adaptor_pipe. adaptor_pipe must be assigned by calling set_adaptors() from the outside (typically in a spider)

--HG--
extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40342
This commit is contained in:
Pablo Hoffman 2008-10-24 03:42:05 +00:00
parent ebe847bc6b
commit 23524ccc86
1 changed files with 0 additions and 4 deletions

View File

@ -8,10 +8,6 @@ class ScrapedItem(object):
that identifies uniquely the given scraped item.
"""
def __init__(self, adaptors_pipe={}):
self.set_adaptors(adaptors_pipe)
pass
def set_adaptors(self, adaptors_pipe):
"""
Set the adaptors to use for this item. Receives a dict of the adaptors