b站 港澳台 外挂cc字幕 是繁体字 我想要将它转为简体字,于是有了以下研究

api请求为https://i0.hdslb.com/bfs/subtitle/xxxx.json

复制下来响应的内容,找个转换网站把内容由繁体字转为简体,然后复制粘贴到一个文件里(后缀无所谓,我是用的.json)

 

使用reres扩展,替换这个请求为本地的这个文件

If URL match:
.*i0\.hdslb\.com\/bfs\/subtitle\/.*
Response:
file:///C:/Users/ppp/Desktop/zimu_jianti.json

 


 

后来发现greasyfork有现成的油猴脚本

posted @ 2022-08-03 01:02  hrdom  阅读(1332)  评论(0编辑  收藏  举报