mirror of
https://github.com/imputnet/cobalt.git
synced 2026-05-21 14:00:26 -05:00
[PR #1551] api/bilibili: fetch playinfo from their api #13664
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/imputnet/cobalt/pull/1551
Author: @zImPatrick
Created: 5/5/2026
Status: 🔄 Open
Base:
develop← Head:pr/bilibili📝 Commits (1)
6fa4cefapi/bilibili: fix by fetching playinfo from their api📊 Changes
1 file changed (+38 additions, -5 deletions)
View changed files
📝
api/src/processing/services/bilibili.js(+38 -5)📄 Description
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
Refererheader, otherwise you don't get a successful responseShould fix #1545
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.