lierqiang 2 年 前
コミット
3c00412e5e
1 ファイル変更2 行追加2 行削除
  1. 2 2
      kuaishou/kuaishou_follow/kuaishou_follow.py

+ 2 - 2
kuaishou/kuaishou_follow/kuaishou_follow.py

@@ -296,7 +296,7 @@ class KuaiShouFollow:
             'Accept': '*/*',
             'Content-Type': 'application/json',
             'Origin': 'https://www.kuaishou.com',
-            'Cookie': 'kpf=PC_WEB; clientid=3; did=web_3f4f8b9bd013657bcd13fe93affaee74; kpn=KUAISHOU_VISION',
+            'Cookie': 'kpf=PC_WEB; clientid=3; did=web_dd1c3de3a85309edc699e4ea1e03bb64; kpn=KUAISHOU_VISION',
             'Content-Length': '1260',
             'Accept-Language': 'zh-CN,zh-Hans;q=0.9',
             'Host': 'www.kuaishou.com',
@@ -311,7 +311,7 @@ class KuaiShouFollow:
                                      verify=False, timeout=10)
             feeds = response.json()['data']['visionProfilePhotoList']['feeds']
         except Exception as e:
-            Common.logger(log_type, crawler).error(f"get_videoList:{e}\n")
+            Common.logger(log_type, crawler).error(f"get_videoList:{e},response:{response.text}")
             return
         if not feeds:
             Common.logger(log_type, crawler).info("没有更多视频啦 ~\n")