|
@@ -392,7 +392,7 @@ class KuaiShouFollow:
|
|
'content-type': 'application/json',
|
|
'content-type': 'application/json',
|
|
'Origin': 'https://www.kuaishou.com',
|
|
'Origin': 'https://www.kuaishou.com',
|
|
'Connection': 'keep-alive',
|
|
'Connection': 'keep-alive',
|
|
- 'Cookie': 'kpf=PC_WEB; clientid=3; did=web_cb989442745f6db4521d6b21032475a6; kpn=KUAISHOU_VISION',
|
|
|
|
|
|
+ 'Cookie': 'kpf=PC_WEB; clientid=3; did=web_1e446c59887cc91ea3d1bd3452b7179d; kpn=KUAISHOU_VISION',
|
|
'Sec-Fetch-Dest': 'empty',
|
|
'Sec-Fetch-Dest': 'empty',
|
|
'Sec-Fetch-Mode': 'cors',
|
|
'Sec-Fetch-Mode': 'cors',
|
|
'Sec-Fetch-Site': 'same-origin'
|
|
'Sec-Fetch-Site': 'same-origin'
|
|
@@ -610,7 +610,7 @@ class KuaiShouFollow:
|
|
return
|
|
return
|
|
cls.get_videoList(log_type, crawler, strategy, our_uid, out_uid, oss_endpoint, env, machine,
|
|
cls.get_videoList(log_type, crawler, strategy, our_uid, out_uid, oss_endpoint, env, machine,
|
|
pcursor=pcursor)
|
|
pcursor=pcursor)
|
|
- time.sleep(random.randint(1, 3))
|
|
|
|
|
|
+ time.sleep(random.randint(3, 5))
|
|
except Exception as e:
|
|
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}\n")
|
|
|
|
|