kenzh

kenzh

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