Is there any way that I can get the response.body
from the Request function in scrapy?
I have this:
request = Request("http://www.example.com", callback = self.mytest)
def mytest(self, response)
return response.body
Now I want to get response.body
in a Python variable, How can I get that?
I want something like
myresponse = Request("http://www.example.com").get('response')