热门标签
更多>
搜索结果
查询Tags标签: collention,共有 2条记录-
scrapy-redis分布式爬取 读取redis数据库中内容存储到mongo
import json import pymongo from redis import StrictRedisrediscli=StrictRedis(host=192.168.6.223,port=6379,db=0,decode_responses=True) client=pymongo.MongoClient(mongoip,27017) db=client.xixian collention=db.demowhile True:source, data = rediscli.blpop…
2021/12/24 19:07:36 人评论 次浏览 -
scrapy-redis分布式爬取 读取redis数据库中内容存储到mongo
import json import pymongo from redis import StrictRedisrediscli=StrictRedis(host=192.168.6.223,port=6379,db=0,decode_responses=True) client=pymongo.MongoClient(mongoip,27017) db=client.xixian collention=db.demowhile True:source, data = rediscli.blpop…
2021/12/24 19:07:36 人评论 次浏览