def start_requests(self): for i in self.start_urls: yield Request(i, meta={ ‘dont_redirect‘: True, ‘handle_httpstatus_list‘: [302] }, callback=self.parse)
scrapy 解决302重定向问题
原文:https://www.cnblogs.com/fh-fendou/p/9802167.html