lierqiang 2 роки тому
батько
коміт
3369bf52c4
1 змінених файлів з 3 додано та 4 видалено
  1. 3 4
      kuaishou/kuaishou_recommend/recommend_kuaishou.py

+ 3 - 4
kuaishou/kuaishou_recommend/recommend_kuaishou.py

@@ -37,10 +37,9 @@ class KuaiShouRecommend:
                 # "comment_cnt": int(rule_sheet[1][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]),
-
+                "duration": int(rule_sheet[3][2]),
+                "publish_time": int(rule_sheet[4][2]),
+                "like_cnt": int(rule_sheet[5][2])
             }
             return rule_dict
         except Exception as e: