摘要:
# -*- coding: utf-8 -*- # Scrapy settings for smzdm project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the do... 阅读全文
posted @ 2019-03-04 14:20
瑞溪
阅读(169)
评论(0)
推荐(0)
摘要:
1 import pymongo 2 3 class MongoPipeline(object): 4 5 collection_name = '表名' 6 7 def __init__(self, mongo_uri, mongo_db): 8 9 self.mongo_uri = mongo_uri 10 self.mongo_db = mo... 阅读全文
posted @ 2019-03-04 14:17
瑞溪
阅读(121)
评论(0)
推荐(0)

浙公网安备 33010602011771号