Show
Ignore:
Timestamp:
11/06/09 13:46:36 (10 months ago)
Author:
Pablo Hoffman <pablo@…>
Branch:
default
Message:

Changed item pipeline API to pass spider references (instead of domain names) to process_item() method

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • scrapy/contrib/pipeline/fileexport.py

    r1632 r1827  
    1818        dispatcher.connect(self.engine_stopped, signals.engine_stopped) 
    1919 
    20     def process_item(self, domain, item): 
     20    def process_item(self, spider, item): 
    2121        self.exporter.export_item(item) 
    2222        return item