lierqiang 2 年之前
父节点
当前提交
7127d0ab00
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6 6
      kuaishou/kuaishou_recommend/recommend_kuaishou.py

+ 6 - 6
kuaishou/kuaishou_recommend/recommend_kuaishou.py

@@ -33,13 +33,13 @@ class KuaiShouRecommend:
         try:
             rule_sheet = Feishu.get_values_batch(log_type, crawler, "NQ6CZN")
             rule_dict = {
-                # "play_cnt": int(rule_sheet[0][2]),
+                "play_cnt": int(rule_sheet[0][2]),
                 # "comment_cnt": int(rule_sheet[1][2]),
-                "video_width": int(rule_sheet[0][2]),
-                "video_height": int(rule_sheet[1][2]),
-                "like_cnt": int(rule_sheet[2][2]),
-                "duration": int(rule_sheet[3][2]),
-                "publish_time": int(rule_sheet[4][2]),
+                "video_width": int(rule_sheet[1][2]),
+                "video_height": int(rule_sheet[2][2]),
+                "like_cnt": int(rule_sheet[3][2]),
+                "duration": int(rule_sheet[4][2]),
+                "publish_time": int(rule_sheet[5][2]),
 
             }
             return rule_dict