Skip to content

api/bilibili: fetch playinfo from their api - #1551

Open
zImPatrick wants to merge 1 commit into
imputnet:developfrom
zImPatrick:pr/bilibili
Open

api/bilibili: fetch playinfo from their api#1551
zImPatrick wants to merge 1 commit into
imputnet:developfrom
zImPatrick:pr/bilibili

Conversation

@zImPatrick

@zImPatrick zImPatrick commented May 5, 2026

Copy link
Copy Markdown
Contributor

Bilibili downloading broke a few days ago because they just stopped returning __playinfo__ for some requests?
Getting the aid (video id), cid (channel id..?) and bvid (this one isn't actually required but why not) and sending those to the endpoint the site uses when it has no playinfo seems to work just fine

The only thing that matters when calling that endpoint is the Referer header, otherwise you don't get a successful response

Should fix #1545

lambovl pushed a commit to lambovl/cobalt-WSS that referenced this pull request Aug 27, 2026
cherry-picked from upstream PR imputnet#1551 by @zImPatrick
(preferred over PR imputnet#1575, which replaces html parsing entirely, caps
quality at qn=64 and carries unrelated vite.config changes)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant