pip install scrapy-user-agents Remember to remove any other User agents you may have set in thesettings.pyfile or in the local settings. This library will be the one providing the user agents. DOWNLOADER_MIDDLEWARES = { 'scrapy.downloadermiddlewares.useragent.UserAgentMiddleware': None, 'scrapy...
配置如下: INSTALLED_APPS = [ 'simpleui' 'django.contrib.admin', 'django.contrib...