scrapy 爬虫

添加user-agent : setting中添加 

USER_AGENT = "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.93 Safari/537.36"

你可能感兴趣的:(爬虫,scrapy)