response.body
スクレイピーの Request 関数から取得する方法はありますか?
私はこれを持っています:
request = Request("http://www.example.com", callback = self.mytest)
def mytest(self, response)
return response.body
Python変数を取得したいのですresponse.body
が、どうすれば取得できますか?
私は何かが欲しい
myresponse = Request("http://www.example.com").get('response')