Module Expr Str Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad Str decorator_list ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad If Call NameLoad NameLoad Str body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr AttributeLoad NameLoad attr If Call NameLoad NameLoad Str body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Num AttributeLoad NameLoad attr If Call NameLoad NameLoad Str body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Num AttributeLoad NameLoad attr If Call NameLoad NameLoad Str body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Lambda arguments args NameParam defaults BinOpMod Str TupleLoad AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr attr AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr FunctionDef arguments args NameParam defaults body For NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str body TryExcept body Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Assert CompareIs NameLoad NameLoad BinOpMod Str TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad handlers ExceptHandler body Return Call NameLoad Call NameLoad NameLoad NameLoad Return Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr For NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assert BoolOpOr CompareIs NameLoad NameLoad Call NameLoad NameLoad BinOpMod Str TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assert Call NameLoad NameLoad BinOpMod Str TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad Return NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list decorator_list
N/A N/A 
Spider Middleware manager

See documentation in docs/topics/spider-middleware.rst
 N/A six twisted.python.failure Failure scrapy.middleware MiddlewareManager scrapy.utils.defer mustbe_deferred scrapy.utils.conf build_component_list _isiterable N/A N/A possible_iterator N/A N/A N/A N/A hasattr possible_iterator __iter__ N/A SpiderMiddlewareManager N/A MiddlewareManager N/A N/A component_name spider middleware _get_mwlist_from_settings N/A N/A cls settings N/A N/A N/A N/A build_component_list N/A N/A settings getwithbase SPIDER_MIDDLEWARES N/A classmethod _add_middleware N/A N/A self mw N/A N/A N/A N/A N/A N/A super SpiderMiddlewareManager self _add_middleware mw N/A N/A hasattr mw process_spider_input N/A N/A N/A N/A N/A N/A self methods N/A process_spider_input append N/A mw process_spider_input N/A N/A hasattr mw process_spider_output N/A N/A N/A N/A N/A N/A self methods N/A process_spider_output insert 0 N/A mw process_spider_output N/A N/A hasattr mw process_spider_exception N/A N/A N/A N/A N/A N/A self methods N/A process_spider_exception insert 0 N/A mw process_spider_exception N/A N/A hasattr mw process_start_requests N/A N/A N/A N/A N/A N/A self methods N/A process_start_requests insert 0 N/A mw process_start_requests N/A scrape_response N/A N/A self scrape_func response request spider N/A N/A N/A fname N/A N/A N/A f N/A N/A %s.%s N/A N/A N/A N/A N/A six get_method_self f __class__ __name__ N/A N/A N/A six get_method_function f __name__ process_spider_input N/A N/A response N/A N/A N/A method N/A N/A self methods N/A process_spider_input N/A N/A N/A N/A result N/A method response response spider spider N/A N/A result None N/A Middleware %s must returns None or raise an exception, got %s  N/A N/A fname method N/A type result N/A N/A N/A N/A N/A scrape_func N/A Failure request spider N/A N/A scrape_func response request spider N/A process_spider_exception N/A N/A _failure N/A N/A N/A exception N/A _failure value N/A method N/A N/A self methods N/A process_spider_exception N/A N/A result N/A method response response exception exception spider spider N/A N/A N/A result None N/A _isiterable result N/A Middleware %s must returns None, or an iterable object, got %s  N/A N/A fname method N/A type result N/A N/A result None N/A N/A result N/A _failure N/A process_spider_output N/A N/A result N/A N/A N/A method N/A N/A self methods N/A process_spider_output N/A N/A result N/A method response response result result spider spider N/A N/A _isiterable result N/A Middleware %s must returns an iterable object, got %s  N/A N/A fname method N/A type result N/A result N/A N/A dfd N/A mustbe_deferred process_spider_input response N/A N/A N/A dfd addErrback process_spider_exception N/A N/A N/A dfd addCallback process_spider_output N/A dfd N/A process_start_requests N/A N/A self start_requests spider N/A N/A N/A N/A N/A self _process_chain process_start_requests start_requests spider N/A N/A