zhangyong 8 ヶ月 前
コミット
cb8700bb21
1 ファイル変更2 行追加2 行削除
  1. 2 2
      data_channel/douyin.py

+ 2 - 2
data_channel/douyin.py

@@ -79,12 +79,12 @@ class DY:
                             .replace("'", "").replace("#", "").replace("Merge", "")
                         Common.logger("dy").info(
                             f"扫描:{task_mark},用户主页id:{url_id},视频id{video_id} ,分享:{share_count},点赞{digg_count}")
-                        if share_count < 300:
+                        if share_count < 200:
                             Common.logger("dy").info(
                                 f"不符合规则:{task_mark},用户主页id:{url_id},视频id{video_id} ,分享:{share_count},点赞{digg_count}")
                             continue
                         video_percent = '%.2f' % (share_count / digg_count)
-                        special = float(0.20)
+                        special = float(0.15)
                         if float(video_percent) < special:
                             Common.logger("dy").info(
                                 f"不符合规则:{task_mark},用户主页id:{url_id},视频id{video_id} ,分享:{share_count},点赞{digg_count} ")