'client_key':'your_client_key','access_token':'your_access_token','page':1,'count':20}# 发送API请求response = requests.get(url, params=params)# 解析API响应ifresponse.status_code ==200:data= response.content.decode(encoding='
client_key21121count20country_code cn id16language zh-Hans-CN;q=1pvfalserefreshTimes1sig2121source1type7 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 然后去写代码 import requests,json url='http://124.243.249.4/rest/n/feed/hot?appver=5.7.5.508&did=EB3C5966-C50E-432D-801E-D7EB42964654&c...
client_key=5234234&country_code=cn&exp_tag=1_i/293748723479238749&language=zh-Hans-CN%3Bq%3D1&sig=c8a22b77755169b9ecfc63b30e428d32&user=72364723 2.逆向 通过逆向找到计算加密函数,调试过程略过。 分析出是md5加密,传入的字符串顺序进行加密。 最近快手升级了风控,多了一个log策略。 而且还需要注册did...
'client_key':'your_client_key','access_token':'your_access_token','page':1,'count':20}# 发送API请求response = requests.get(url, params=params)# 解析API响应ifresponse.status_code ==200:data= response.content.decode(encoding='
一共是这么多参数,我以为 client_key 和 sign 会验证...可是 后面 发现我错了 啥也没验证 就这样提交过去就行... form-data 方式提交则报错 那换raw 这种 报错信息不一样了,试试加上 headers nice 成功返回数据,我又多试几次,发现每次返回结果不一样,都是 20个视频,刚才其中post参数中 有个page=1 可...
importrequestsimportjsondeftest_kuaishou_api():# 定义API地址和参数url ='https://open.kuaishou.com/openapi/photo/list'params = {'app_id':'your_app_id','client_key':'your_client_key','access_token':'your_access_token','count':10,'page':1}# 发出API请求response = requests.get(url, ...
client_key 21121 count 20 country_code cn id 16 language zh-Hans-CN;q=1 pv false refreshTimes 1 sig 2121 source 1 type 7 然后去写代码 import requests,json url='http://124.243.249.4/rest/n/feed/hot?appver=5.7.5.508&did=EB3C5966-C50E-432D-801E-D7EB42964654&c=a&ver=5.7&sys=ios...
后面的参数和post的参数一起排序,组合计算。 1.抓包参数 POST /rest/n/user/profile/v2? HTTP/1.1 Connection: close Accept-Language: zh-cn User-Agent: kwai-android Content-Type: application/x-www-form-urlencoded Host: apissl.gifshow.com Accept-Encoding: gzip, deflate client_key=5234234...
需要client_key,kuaishou.live.bfb1s,kuaishou.live.web_st,kuaishou.live.web_ph,userId 的值, 请不要将所有 Cookie 填入。 } placeholder="client_key=none;kuaishou.live.bfb1s=none;kuaishou.live.web_st=none;kuaishou.live.web_ph=none;userId=none;" label="快手 Cookie(kuaishou_cookie)" style={...
"music.liuzhijin.cn","Host":"live.kuaishou.com","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36","Cookie":"did=web_c0f3196ec94d4837b5f7850e3ebac3b9; didv=1589520098000; clientid=3; client_key=65890...