声明本文章中所有内容仅供学习交流使用不用于其他任何目的抓包内容、敏感网址、数据接口 等均已做脱敏处理严禁用于商业用途和非法用途否则由此产生的一切后果均与作者无关侵权头像头像私信联系名字删除博客部分python代码cp execjs.compile(open(token-列表.js,r,encodingutf-8).read()) token cp.call(getToken, ........) print(token) headers { accept: application/json, accept-language: zh-CN,zh;q0.9, cache-control: no-cache, content-type: application/json, phantom-token: token, currency: HKD, locale: zh-HK, x-ctx-wclient-req: wclient_req } url https://hk.trip.com/restapi/soa2/34951/fetchHotelList data json.dumps(data, separators(,, :)) response requests.post(url, headersheaders, cookiescookies, datadata) print(response.text) print(response)结果总结1.出于安全考虑,本章未提供完整流程,调试环节省略较多,只提供大致思路。2.具体更多细节请看主页详情简介部分具体细节要你自己还原,相信你也能调试出来。