会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
雁渡寒潭
博客园
首页
新随笔
联系
订阅
管理
11 2014 档案
scrapy 自动下载图片
摘要:Item 字段名必须是image_urls即:image_urls = Field()item['image_urls']的类型是一个list。item['image_urls'] = "http://some.jpg" 是不行的。会有如下错误: Traceback (most recent cal...
阅读全文
posted @
2014-11-19 10:19
稻草人.cn
阅读(872)
评论(0)
推荐(0)
Python处理json的错误 obj, end = self.scan_once(s, idx) ValueError: Expecting property name: line 2 column 17 (char 18)
摘要:解决办法:先去回车:d3 = d2.replace('\n', '')再把单引号替换为双引号。d3 = d3.replace("'", '"')
阅读全文
posted @
2014-11-12 16:21
稻草人.cn
阅读(1581)
评论(0)
推荐(0)
WARNING:tornado.access:403 GET /websocket (::1) 1.00ms
摘要:解决办法:
阅读全文
posted @
2014-11-11 10:05
稻草人.cn
阅读(2238)
评论(0)
推荐(0)
公告