告别F12!session-capture:一键抓取网站完整认证会话
2026/8/2 7:40:57
url = "/vips-mobile/rest/layout/channel_b/data" # 生成签名 api_sign = vip_sign(data) print(f"api_sign = {api_sign}") headers = { "host": "mapi.appvipshop.com", "authorization": f"OAuth api_sign={api_sign}", "x-vip-host": "mapi.appvipshop.com", "content-type": "application/x-www-form-urlencoded", "user-agent": "okhttp/4.9.1", } response = requests.post(url, headers=headers, data=data) print(response.status_code) print(response.text)