声明
本文章中所有内容仅供学习交流使用,不用于其他任何目的,抓包内容、敏感网址、数据接口等均已做脱敏处理,严禁用于商业用途和非法用途,否则由
此产生的一切后果均与作者无关!
部分python代码
cp = execjs.compile(open('mtgsig.js', 'r', encoding='utf-8').read()) result = cp.call('getMtgsig', data1, openid) mtgsig = result['headers']['mtgsig'] headers = { 'Accept': 'application/json, text/plain, */*', 'Accept-Language': 'zh-CN,zh;q=0.9', 'Cache-Control': 'no-cache', 'Connection': 'keep-alive', 'Sec-Fetch-Dest': 'empty', 'Sec-Fetch-Mode': 'cors', 'Sec-Fetch-Site': 'same-site', 'mtgsig': mtgsig, 'openId': openid, 'openIdCipher': export_id, 'token': '', } print(mtgsig) response = requests.get(url, params=params, headers=headers) print(response.text)