声明:
本文章中所有内容仅供学习交流使用,不用于其他任何目的,抓包内容、敏感网址、数据接口等均已做脱敏处理,严禁用于商业用途和非法用途,否则由此产生的一切后果均与作者无关!
部分python代码
result = cp.call('getXsXt','/api/sns/web/v1/comment/like',json_data,a1) print(result) headers = { 'sec-ch-ua-mobile': '?0', 'sec-ch-ua-platform': '"Windows"', 'sec-fetch-dest': 'empty', 'sec-fetch-mode': 'cors', 'sec-fetch-site': 'same-site', 'x-s': result['x-s'], 'x-t': str(result['x-t']), } cookies = { } response = requests.post('v1/comment/like', cookies=cookies, headers=headers, data=data) print(response.text)