Browse Source

add weixinzhishu: search_key

wangkun 2 years ago
parent
commit
760d080e89
1 changed files with 2 additions and 0 deletions
  1. 2 0
      weixinzhishu/weixinzhishu_main/search_key.py

+ 2 - 0
weixinzhishu/weixinzhishu_main/search_key.py

@@ -62,6 +62,8 @@ class Searchkey:
             #     time.sleep(10)
             #     cls.get_search_key(log_type, crawler)
             else:
+                Common.logger(log_type, crawler).info(f"len(chlsfile_path):{chlsfile_path}")
+                Common.logger(log_type, crawler).info(f"len(chlsfile):{sorted(os.listdir(chlsfile_path))}")
                 # 获取最新的 chlsfile
                 chlsfile = sorted(os.listdir(chlsfile_path))[-1]
                 # 分离文件名与扩展名