Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

单p视频搬运绑定出错,提示“分p视频无法获取cid” #75

Closed
CrystFish opened this issue Nov 15, 2024 · 10 comments
Closed
Labels
bug Something isn't working 后端 Server 和后端相关的问题 https://github.com/hanydd/BilibiliSponsorBlockServer

Comments

@CrystFish
Copy link

在绑定 BV1Zc4TezEaP 时提示 “分p视频无法获取cid,请使用0.5.0以上版本的插件!”
但是插件的版本已经是0.5.0了
猜测:分p视频的判断机制有些问题

*Windows x64和arm64的Firefox上的测试结果相同

@CrystFish CrystFish changed the title 绑定分p视频出错,提示“分p视频无法获取cid” 绑定单p视频出错,提示“分p视频无法获取cid” Nov 15, 2024
@hanydd
Copy link
Owner

hanydd commented Nov 16, 2024

🤦忘记改提示词了,插件还没支持,只是服务现在支持多p了

@CrystFish
Copy link
Author

所以视频的绑定是否能成功?我尝试直接调用绑定api也是一样的输出,“插件还没支持”是因为api有改动而插件没更新吗?

@hanydd
Copy link
Owner

hanydd commented Nov 16, 2024

你是想提交分p视频的片段吗?如果是分p视频必须提供cid,类似"cid": 12345,否则就会报错

@hanydd
Copy link
Owner

hanydd commented Nov 16, 2024

#52

@CrystFish
Copy link
Author

CrystFish commented Nov 16, 2024

抱歉前面没说明白,我不是想提交片段,而是要绑定搬运视频
原先的api参数是biliDuration,bvID,userID和ytbID以及可选的userAgent,看样子现在整个项目是已经全面用cid替代了bvID?然后绑定搬运视频的api也改用cid了?

@CrystFish CrystFish changed the title 绑定单p视频出错,提示“分p视频无法获取cid” 单p视频搬运绑定出错,提示“分p视频无法获取cid” Nov 16, 2024
@hanydd
Copy link
Owner

hanydd commented Nov 16, 2024

哦哦哦,现在是bvid+cid一起认证,如果单p视频可以不填cid,可以加个参数试一下

@xiaoxuan010
Copy link
Contributor

试了一下确实是可以复现的,因为是单P视频所以插件只提交了bvID
image
后端返回 分p视频无法获取cid,请使用0.5.0以上版本的插件!
image

@CrystFish
Copy link
Author

试了一下,加上cid参数之后确实能正常绑定了
image

@CrystFish
Copy link
Author

猜测:服务端将所有视频都当作分p视频了

@hanydd hanydd added bug Something isn't working 后端 Server 和后端相关的问题 https://github.com/hanydd/BilibiliSponsorBlockServer labels Nov 17, 2024
@hanydd
Copy link
Owner

hanydd commented Nov 17, 2024

fixed by hanydd/BilibiliSponsorBlockServer@e29dcb0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 后端 Server 和后端相关的问题 https://github.com/hanydd/BilibiliSponsorBlockServer
Projects
Status: 已完成
Development

No branches or pull requests

3 participants