Skip to content

Commit 20e5ae7

Browse files
committed
fix the issue of abnormal subtitle retrieval caused by changes to Bilibili API
1 parent ec0cd7c commit 20e5ae7

File tree

1 file changed

+1
-1
lines changed
  • src/content-script/site-adapters/bilibili

1 file changed

+1
-1
lines changed

src/content-script/site-adapters/bilibili/index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default {
3737
const title = videoList[p].part
3838

3939
const infoResponse = await fetch(
40-
`https://api.bilibili.com/x/player/v2?bvid=${bvid}&cid=${cid}`,
40+
`https://api.bilibili.com/x/player/wbi/v2?bvid=${bvid}&cid=${cid}`,
4141
{
4242
credentials: 'include',
4343
},

0 commit comments

Comments
 (0)