def ypim_crawler_inven3(): conn = db_conn.db_conn() model_ = model.model(conn) return_list = model_.tb_url_detail_select("inven", 3) url_list = [] for i in return_list: url_list.append(i['href']) name_list = ["subjcont", "nicname"] for i in name_list: for j in url_list: inven_find(model_, j, i).start()
def ypim_crawler_inven2(): conn = db_conn.db_conn() model_ = model.model(conn) return_list = model_.tb_url_detail_select("inven", 2) #url_list = ["http://www.inven.co.kr/board/powerbbs.php?come_idx=2730"] url_list = [] for i in return_list: url_list.append(i['href']) name_list = ["subjcont", "nicname"] for i in name_list: for j in url_list: inven_find(model_, j, i).start()