kenzh

kenzh

V2EX 第 264766 号会员,加入于 2017-11-03 20:44:18 +08:00
今日活跃度排名 4177
kenzh 最近回复了
试下 r.content.decode('gb2312', 'ignore').encode('gb2312')
Control-C ?
看了下文档,find()总是返回的是 Cursor, 猜测应该用 db.mycollection.find({"ip":item["ip"]}).count() 吧。
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5368 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 06:10 · PVG 14:10 · LAX 23:10 · JFK 02:10
Developed with CodeLauncher
♥ Do have faith in what you're doing.