Merge pull request #1105 from ramiro/patch-1

Add missing callback arg in jobs topic example.
This commit is contained in:
Mikhail Korobov 2015-03-26 03:19:39 +05:00
commit e3e60da6c2
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ But this will::
def some_callback(self, response):
somearg = 'test'
return scrapy.Request('http://www.example.com', meta={'somearg': somearg})
return scrapy.Request('http://www.example.com', callback=self.other_callback, meta={'somearg': somearg})
def other_callback(self, response):
somearg = response.meta['somearg']