wangkun 2 years ago
parent
commit
d7a81edfda
1 changed files with 3 additions and 3 deletions
  1. 3 3
      weixinzhishu/weixinzhishu_main/weixinzhishu_test.py

+ 3 - 3
weixinzhishu/weixinzhishu_main/weixinzhishu_test.py

@@ -122,9 +122,9 @@ class Test:
                     wechat_score_list.append(wechat_score_dict)
                     Common.logger(log_type, crawler).info(f"wechat_score_dict:{wechat_score_dict}")
                     # 写飞书
-                    if word_list[i] in [x for y in Feishu.get_values_batch(log_type, crawler, "5011a2") for x in y]:
-                        Common.logger(log_type, crawler).info("该词已存在")
-                        break
+                    # if word_list[i] in [x for y in Feishu.get_values_batch(log_type, crawler, "5011a2") for x in y]:
+                    #     Common.logger(log_type, crawler).info("该词已存在")
+                    #     break
                     Feishu.insert_columns(log_type, crawler, "5011a2", "ROWS", 1, 2)
                     time.sleep(0.5)
                     Feishu.update_values(log_type, crawler, "5011a2", "F2:Z2", [[time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(int(time.time()))),