예제 #1
0
 def stock_freeze_execute(self, list_, pageSoup):
     br_keyword = "gqxxliststr" + r"[\s\S]*}]';"
     dict_ba_list = common.get_dict_list_2(pageSoup, *br_keyword)
     if dict_ba_list != []:
         raise ValueError("dict_ba_list is not empty.")
     else:
         return None
예제 #2
0
 def mortgage_execute(self, dlink, pageSoup):
     br_keyword = "mortgageGuaTable" + r"[\s\S]*}]';"
     dict_ba_list = common.get_dict_list_2(pageSoup, *br_keyword)
     for dict_ba in dict_ba_list:
         mortgage_reg_num = self.c_mortgage_execute(
             dlink, pageSoup)[0]['mortgage_reg_num']
         dict_ba['mortgage_reg_num'] = mortgage_reg_num
     return dict_ba_list
예제 #3
0
 def mortgage_execute(self, dlink, pageSoup):
     br_keyword = "mortgageGuaTable" + r"[\s\S]*}]';"
     dict_ba_list = common.get_dict_list_2(pageSoup, *br_keyword)
     if dict_ba_list != []:
         raise ValueError("dict_ba_list is not empty.")
         # for dict_ba in dict_ba_list:
         #     mortgage_reg_num = self.c_mortgage_execute(dlink, pageSoup)[0]['mortgage_reg_num']
         #     dict_ba['mortgage_reg_num'] = mortgage_reg_num
     else:
         return None
예제 #4
0
 def s_h_execute(self, list_, pageSoup):
     br_keyword = "czxxliststr" + r"[\s\S]*}]';"
     dict_ba_list = common.get_dict_list_2(pageSoup, *br_keyword)
     return dict_ba_list