Open liaozd opened 7 months ago
你可以自己抓包看看。这是我之前挖的坑没填
基本上我没空,你看看有没有别人实现吧,上传的方式在下面
POST https://api.bilibili.com/x/upload/web/image?t=1713657434350&csrf=
data:
{
"code": 0,
"message": "0",
"ttl": 1,
"data": {
"location": "http://i0.hdslb.com/bfs/subtitle/28637eafe95ebd69d124bdb3a7510c5d8324511c.srt",
"etag": "28637eafe95ebd69d124bdb3a7510c5d8324511c"
}
}
emmm,实际上这个字段没有生效,我不太懂
似乎是 POST https://api.bilibili.com/x/v2/dm/subtitle/draft/preSave?t=1713658024738&csrf=
oid: 1514417076 type: 1 files: [{"url":"http://i0.hdslb.com/bfs/subtitle/b12b8a4e55c6f0cddbac37a151692b1820482105.srt","lan":"zh-Hans","subtitle_id":0},{"url":"http://i0.hdslb.com/bfs/subtitle/b12b8a4e55c6f0cddbac37a151692b1820482105.srt","lan":"en-US","subtitle_id":0}] aid: 0 csrf:
嗯,需要预上传,会考虑这个功能吗?
五一可能有时间
考虑会加吗?是不是因为需要预上传,会比较麻烦?
主要是懒,五一忙别的去了,加个步骤就行了不难(
+1 求这个功能
...我是没空了,现在都没在维护了
加油啊
上传视频接口中有subtitles的字段,但是在那里上传已经做好的.srt字幕文件?