class documentation

class RetryMiddleware:

View In Hierarchy

Undocumented

Class Method from​_crawler Undocumented
Constant EXCEPTIONS​_TO​_RETRY Undocumented
Method __init__ Undocumented
Method ​_retry Undocumented
Method process​_exception Undocumented
Method process​_response Undocumented
Instance Variable max​_retry​_times Undocumented
Instance Variable priority​_adjust Undocumented
Instance Variable retry​_http​_codes Undocumented
@classmethod
def from_crawler(cls, crawler):

Undocumented

EXCEPTIONS_TO_RETRY =

Undocumented

Value
(defer.TimeoutError,
 TimeoutError,
 DNSLookupError,
 ConnectionRefusedError,
 ConnectionDone,
 ConnectError,
 ConnectionLost,
...
def __init__(self, settings):

Undocumented

def _retry(self, request, reason, spider):

Undocumented

def process_exception(self, request, exception, spider):

Undocumented

def process_response(self, request, response, spider):

Undocumented

max_retry_times =

Undocumented

priority_adjust =

Undocumented

retry_http_codes =

Undocumented