Browse Source

修改日志信息

zhangyong 9 months ago
parent
commit
81bb8ad028
2 changed files with 2 additions and 2 deletions
  1. 1 1
      data_channel/douyin.py
  2. 1 1
      data_channel/shipinhao.py

+ 1 - 1
data_channel/douyin.py

@@ -78,7 +78,7 @@ class DY:
                             .replace("&NBSP", "").replace(".", "。").replace(" ", "") \
                             .replace("'", "").replace("#", "").replace("Merge", "")
                         Common.logger("dy").info(
-                            f"扫描:{task_mark},用户主页id:{url_id},视频id{video_id} ,分享:{share_count},点赞{digg_count} ,时长:{duration} ")
+                            f"扫描:{task_mark},用户主页id:{url_id},视频id{video_id} ,分享:{share_count},点赞{digg_count}")
                         if share_count < 500:
                             Common.logger("dy").info(
                                 f"不符合规则:{task_mark},用户主页id:{url_id},视频id{video_id} ,分享:{share_count},点赞{digg_count}")

+ 1 - 1
data_channel/shipinhao.py

@@ -105,7 +105,7 @@ class SPH:
                             like_cnt = int(obj['like_count'])  # 点赞
                             old_title = video_obj.get('title').split("\n")[0].split("#")[0]
                             Common.logger("sph").info(
-                                f"扫描:{task_mark},用户主页id:{url},视频id{objectId} ,分享:{share_cnt},点赞:{like_cnt} ,时长:{duration} ")
+                                f"扫描:{task_mark},用户主页id:{url},视频id{objectId} ,分享:{share_cnt},点赞:{like_cnt}")
                             if share_cnt < 500:
                                 Common.logger("sph").info(
                                     f"不符合规则:{task_mark},用户主页id:{url},视频id{objectId} ,分享:{share_cnt},点赞:{like_cnt}")