[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:
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.