updated spider templates to reflect the new spider callback return policy

This commit is contained in:
Ismael Carnales 2009-09-22 11:25:42 -03:00
parent 5862ba7db7
commit ef0e5d368f
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ class $classname(BaseSpider):
)
def parse(self, response):
return ()
pass
SPIDER = $classname()

View File

@ -19,6 +19,6 @@ class $classname(CrawlSpider):
#i['site_id'] = xs.select('//input[@id="sid"]/@value').extract()
#i['name'] = xs.select('//div[@id="name"]').extract()
#i['description'] = xs.select('//div[@id="description"]').extract()
return [i]
return i
SPIDER = $classname()