#! usr/bin/env python3
# -*- coding:utf-8 -*-

import pymongo
from 抓取招聘信息.craw_jobs.setting import *
client = pymongo.MongoClient(MONGO_URL)
db = client[MONGO_DB]

def save_to_mongo(result):
    if db['zhilianzhaopin'].insert(result):
        print('插入数据库成功', result)
    return None
45d4ded0fa2679d19e323a88306856a543c7ba0a
<mask token>

<mask token>


def save_to_mongo(result):
    if db['zhilianzhaopin'].insert(result):
        print('插入数据库成功', result)
    return None

<mask token>
client = pymongo.MongoClient(MONGO_URL)
db = client[MONGO_DB]


def save_to_mongo(result):
    if db['zhilianzhaopin'].insert(result):
        print('插入数据库成功', result)
    return None

import pymongo
from 抓取招聘信息.craw_jobs.setting import *
client = pymongo.MongoClient(MONGO_URL)
db = client[MONGO_DB]


def save_to_mongo(result):
    if db['zhilianzhaopin'].insert(result):
        print('插入数据库成功', result)
    return None

#! usr/bin/env python3
# -*- coding:utf-8 -*-

import pymongo
from 抓取招聘信息.craw_jobs.setting import *
client = pymongo.MongoClient(MONGO_URL)
db = client[MONGO_DB]

def save_to_mongo(result):
    if db['zhilianzhaopin'].insert(result):
        print('插入数据库成功', result)
    return None