scrapy 403error

来源:互联网 发布:xp禁止程序联网软件 编辑:程序博客网 时间:2024/06/05 02:18
scrapy shell http://www.chinaipo.com/listed/

403错误

这里写图片描述

加上USER_AGENT就可以了

scrapy shell -s USER_AGENT='custom user agent' http://www.chinaipo.com/listed/

这里写图片描述

0 0