def init(): infos = fetch() for info in infos: dao.add_a_job(info['title'], info['company'], info['web_url'], info['work_city'], "生命科学学院官网", info['position'], info['release_time'], info['web_html'])
def init(): objs = get_all_data() for obj in objs: dao.add_a_job(obj['title'], obj['company'], obj['web_url'], obj['work_city'], obj['message_source'], obj['position'], obj['release_time'], obj['web_html'])
def init(): objs = get_all_page_of_job() for obj in objs: dao.add_a_job(obj['title'], obj['company'], obj['web_url'], obj['work_city'], '华农数学与信息软件学院官网', obj['position'], obj['release_time'], obj['web_html'])
def init(): objs = get_all_page_html() for obj in objs: dao.add_a_job(obj['title'], obj['company'], obj['web_url'], obj['work_city'], '华农电子工程学院官网', obj['position'], obj['release_time'], obj['web_html'])
def init(): infos = fetch() for info in infos: dao.add_a_job(info['title'], info['company'], info['web_url'], info['work_city'], info['message_source'], info['position'], info['release_time'], info['web_html'])