声明:
本文章中所有内容仅供学习交流使用,不用于其他任何目的,抓包内容、敏感网址、数据接口等均已做脱敏处理,严禁用于商业用途和非法用途,否则由此产生的一切后果均与作者无关!
部分python代码
headers = {
'Accept': 'application/json, text/javascript, */*; q=0.01',
'Accept-Language': 'zh-CN,zh;q=0.9',
'Cache-Control': 'no-cache',
'Connection': 'keep-alive',
'Content-Type': 'application/json; charset=UTF-8',
}
cp = execjs.compile(text)
result = cp.call('getCk', )
url = result['url']
json_data = {
'manaType': 'C',
'apanage': '',
'depCodeChg': '',
'curPage': '2',
'pageSize': 20,
}
response = session.post(
url,
headers=headers,
json=json_data,
verify=False,
)
headers = {
'Accept': 'application/json, text/javascript, */*; q=0.01',
'Accept-Language': 'zh-CN,zh;q=0.9',
'Cache-Control': 'no-cache',
'Connection': 'keep-alive',
'Content-Type': 'application/json; charset=UTF-8',
}
cp = execjs.compile(text)
result = cp.call('getCk', )
url = result['url']
json_data = {
'manaType': 'C',
'apanage': '',
'depCodeChg': '',
'curPage': '2',
'pageSize': 20,
}
response = session.post(
url,
headers=headers,
json=json_data,
verify=False,
)
结果
