kenzh

kenzh

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