|
|
@ -465,7 +465,8 @@ class CnmoCrawler(MobilePhoneCrawler): |
|
|
|
for current_column in range(1, self.param_required_index + 1): |
|
|
|
for current_column in range(1, self.param_required_index + 1): |
|
|
|
val = source_ws.cell(row=current_row, column=current_column).value |
|
|
|
val = source_ws.cell(row=current_row, column=current_column).value |
|
|
|
if val is None or len(val) == 0 or ( |
|
|
|
if val is None or len(val) == 0 or ( |
|
|
|
current_column == 2 and val == '曝光' or val == '即将上市'): |
|
|
|
'参考价格' in self.param_name_list and |
|
|
|
|
|
|
|
current_column == list(self.param_name_list).index('参考价格')+1 and val == '曝光' or val == '即将上市'): |
|
|
|
for i in range(1, self.param_required_index + 1): |
|
|
|
for i in range(1, self.param_required_index + 1): |
|
|
|
target_ws.cell(row=write_row, column=i, value='') |
|
|
|
target_ws.cell(row=write_row, column=i, value='') |
|
|
|
break |
|
|
|
break |
|
|
|