wangkun 2 年之前
父節點
當前提交
e878d190ae
共有 1 個文件被更改,包括 6 次插入5 次删除
  1. 6 5
      main/follow_list.py

+ 6 - 5
main/follow_list.py

@@ -288,7 +288,7 @@ class Follow:
             }
             cookies = {
                 "did": str(cls.did),
-                "preMinaVersion": "v3.119.0",
+                "preMinaVersion": "v3.114.0",
                 "sid": "kuaishou.wechat.app",
                 "appId": "ks_wechat_small_app_2",
                 "clientid": "13",
@@ -296,9 +296,10 @@ class Follow:
                 "kpn": "WECHAT_SMALL_APP",
                 "kpf": "OUTSIDE_IOS_H5",
                 "language": "zh_CN",
-                "smallAppVersion": "v3.121.0",
+                "smallAppVersion": "v3.129.0",
                 "mod": "iPhone(11<iPhone12%2C1>)",
                 "sys": "iOS%2014.7.1",
+                'wechatVersion': '8.0.26',
                 "brand": "iPhone",
                 "session_key": str(cls.session_key),
                 "unionid": str(cls.unionid),
@@ -312,7 +313,7 @@ class Follow:
             json_text = {
                 "count": 12,
                 "pcursor": str(cls.person_pcursor),
-                "eid": uid
+                "eid": str(uid)
             }
             urllib3.disable_warnings()
             r = requests.post(url=url, headers=headers, params=params, cookies=cookies,
@@ -677,6 +678,6 @@ class Follow:
 
 
 if __name__ == "__main__":
-    Follow.get_videos_from_follow("follow")
+    # Follow.get_videos_from_follow("follow")
     # Follow.follow_unfollow("follow", "follow", "687090964")
-    # Follow.get_videos_from_person("follow", "1501445724")
+    Follow.get_videos_from_person("follow", "2413743952")