zhangyong před 10 měsíci
rodič
revize
e6f940150e
3 změnil soubory, kde provedl 5 přidání a 5 odebrání
  1. 2 2
      data_channel/douyin.py
  2. 1 1
      data_channel/kuaishou.py
  3. 2 2
      data_channel/shipinhao.py

+ 2 - 2
data_channel/douyin.py

@@ -70,10 +70,10 @@ class DY:
                         digg_count = int(data[i].get('statistics').get('digg_count'))  # 点赞
                         # comment_count = int(data[i].get('statistics').get('comment_count'))  # 评论
                         share_count = int(data[i].get('statistics').get('share_count'))  # 转发
-                        if digg_count < 200:
+                        if share_count < 500:
                             continue
                         video_percent = '%.2f' % (share_count / digg_count)
-                        special = float(0.2)
+                        special = float(0.25)
                         if float(video_percent) < special:
                             continue
                         duration = dataHelp.video_duration(video_url)

+ 1 - 1
data_channel/kuaishou.py

@@ -76,7 +76,7 @@ class KS:
                     video_url = feeds[i].get('photo', {}).get('photoUrl', "")
                     # viewCount = int(feeds[i].get('photo', {}).get('viewCount', 0))
                     realLikeCount = int(feeds[i].get('photo', {}).get('realLikeCount', 0))
-                    if realLikeCount < 1000:
+                    if realLikeCount < 10000:
                         continue
                     duration = dataHelp.video_duration(video_url)
                     if int(duration) >= 45:

+ 2 - 2
data_channel/shipinhao.py

@@ -98,10 +98,10 @@ class SPH:
                             video_url = video_obj.get('DownloadAddress')
                             share_cnt = int(obj['forward_count'])  # 分享
                             like_cnt = int(obj['like_count'])  # 点赞
-                            if like_cnt < 200:
+                            if share_cnt < 500:
                                 continue
                             video_percent = '%.2f' % (share_cnt / like_cnt)
-                            special = float(0.2)
+                            special = float(0.25)
                             if float(video_percent) < special:
                                 continue
                             duration = dataHelp.video_duration(video_url)