wangkun 2 年之前
父節點
當前提交
fe889d5a6c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      weixinzhishu/weixinzhishu_main/run_weixinzhishu_hot_search.py

+ 2 - 2
weixinzhishu/weixinzhishu_main/run_weixinzhishu_hot_search.py

@@ -42,7 +42,7 @@ class Main:
 
     @classmethod
     def thread_main(cls, log_type, crawler, env):
-        Common.logger(log_type, crawler).info(f"开始抓取今日热搜榜\n")
+        Common.logger(log_type, crawler).info("开始抓取今日热搜榜\n")
         thread_baidu = Thread(target=cls.thread_baidu, args=(log_type, crawler, env))
         thread_kuaishou = Thread(target=cls.thread_kuaishou, args=(log_type, crawler, env))
         thread_douyin = Thread(target=cls.thread_douyin, args=(log_type, crawler, env))
@@ -60,7 +60,7 @@ class Main:
         thread_douyin.join()
         thread_weixin.join()
         thread_weibo.join()
-        Common.logger(log_type, crawler).info(f"今日热搜榜全部抓取完毕\n")
+        Common.logger(log_type, crawler).info("今日热搜榜全部抓取完毕\n")
 
 if __name__ == "__main__":
     Main.thread_main("hot-search", "weixinzhishu", "prod")