|
@@ -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]
|
|
|
# 分离文件名与扩展名
|