[rewrite_local]
^http[s]?:\/\/((app|api)\.(\w{2,15})?\.(com|cn)).*player\.(v3|v2|v1).Play(URL|View).*$ url script-request-header BilibiliProCrack.js
[mitm]
hostname=app.bilibili.com, grpc.biliapi.net,*.biliapi.net,app.bilibili.com,api.bilibili.com,api.live.bilibili.com,api.vc.bilibili.com,dataflow.biliapi.com,124.239.240.*,101.89.57.66, 218.94.210.66,240e:b1:9801:206:11:0:0:*
***********************************/
var modifiedHeaders = $request['headers'];
modifiedHeaders['Cookie'] = '';
modifiedHeaders['x-bili-device-bin'] = '';
modifiedHeaders['Authorization'] = '';
modifiedHeaders['User-Agent'] = '';
modifiedHeaders['buvid'] = '';
modifiedHeaders['x-bili-metadata-bin'] = '';
modifiedHeaders['x-bili-locale-bin'] = '';
modifiedHeaders['x-bili-network-bin'] = '';
modifiedHeaders['x-bili-fawkes-req-bin'] = '';
modifiedHeaders['x-bili-trace-id'] = '';
modifiedHeaders['x-bili-exps-bin'] = '';
$done({'headers': modifiedHeaders});
这里面的x-bili-exps-bin
怎么抓都抓不到呃,我的抓包结果大概是这样的:
POST /bilibili.app.playurl.v1.PlayURL/PlayConf HTTP/1.1
Host: app.bilibili.com
Connection: keep-alive
Content-Length: 5
x-bili-mid:
buvid:
x-bili-metadata-bin:
User-Agent:
grpc-accept-encoding: gzip
x-bili-fawkes-req-bin:
x-bili-locale-bin:
x-bili-aurora-eid:
x-bili-trace-id:
Authorization:
x-bili-device-bin:
x-bili-network-bin:
Accept:
Content-Type:
x-bili-ticket:
Accept-Encoding: identity
grpc-encoding: gzip
Cookie:
1
seeu2ex 2023-10-25 16:16:47 +08:00
猜一下哈,也不太懂,有没有可能请求头里没有包含 x-bili-exps-bin 这个
|
2
Luxur7 2023-10-25 16:54:48 +08:00
这个抓会员的 js 不是早就失效了吗
|
3
Daweezy 2023-10-25 17:46:08 +08:00
应该是 b 站去掉这个 header 不返回了吧
|