随笔分类 -  爬虫

摘要:抓取美团商家信息 本文转载于https://www.cnblogs.com/zyndev/p/7612989.html 阅读全文
posted @ 2019-07-10 13:39 瑞溪 阅读(4781) 评论(0) 推荐(0)
摘要:# -*- 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)