I am trying to access the session cookie within a spider. I first login to a social network using in a spider:
def parse(self, response): retur
This works for me
response.request.headers.get('Cookie')
It seems to return all the cookies that where introduced by the middleware in the request, session's or otherwise.