Commit 902f0a95 authored by wang's avatar wang

wn test

parent 041402b3
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -25,7 +25,7 @@ def md5(text): ...@@ -25,7 +25,7 @@ def md5(text):
client = MongoClient('mongodb://lcc-spider:JIUsfhiad&^@18.144.59.80:27017/?authSource=admin&directConnection=true') client = MongoClient('mongodb://lcc-spider:JIUsfhiad&^@18.144.59.80:27017/?authSource=admin&directConnection=true')
db = client.env db = client.env
# 查询所有文档 # 查询所有文档
if platform.uname().system != 'Darwin': if platform.uname().system == 'Darwin':
# , 'success': {'$gte': 30} # , 'success': {'$gte': 30}
# , 'env.navigatorparams.useragent': {'$regex': 'iPhone'}} # , 'env.navigatorparams.useragent': {'$regex': 'iPhone'}}
result = db.env_shape.find({'env.funcs' :{'$ne': None}}) result = db.env_shape.find({'env.funcs' :{'$ne': None}})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment