Passing Additional Data to Callback Functions

Passing Data

yield response.follow(url, self.getdetail, meta={'code': code_new, 'name': name_new})

Receive Data

def getdetail(self, response):
    code = response.meta['code']
    name = response.meta['name']

Thanks!