python爬虫
_路人_
这个作者很懒,什么都没留下…
展开
-
Scrapy爬虫,Python2将Unicode编码装换成UTF-8编码解决方法之一
在爬取后的数据加上.encode('utf-8'),就可以转换了.原创 2017-04-20 10:41:29 · 7028 阅读 · 0 评论 -
scrapy 403error
scrapy shell http://www.chinaipo.com/listed/403错误加上USER_AGENT就可以了scrapy shell -s USER_AGENT='custom user agent' http://www.chinaipo.com/listed/原创 2017-04-20 15:13:09 · 537 阅读 · 0 评论