def _decode_request ( self , encoded_request ) : obj = self . serializer . loads ( encoded_request ) return request_from_dict ( obj , self . spider )
how to decode requests python
Decode an request previously encoded
def _decode_request(self, encoded_request):
        """Decode an request previously encoded"""
        obj = self.serializer.loads(encoded_request)
        return request_from_dict(obj, self.spider)