class documentation

class UserAgentMiddleware:

View In Hierarchy

This middleware allows spiders to override the user_agent
Class Method from​_crawler Undocumented
Method __init__ Undocumented
Method process​_request Undocumented
Method spider​_opened Undocumented
Instance Variable user​_agent Undocumented
@classmethod
def from_crawler(cls, crawler):

Undocumented

def __init__(self, user_agent='Scrapy'):

Undocumented

def process_request(self, request, spider):

Undocumented

def spider_opened(self, spider):

Undocumented

user_agent =

Undocumented