mirror of
https://github.com/imputnet/cobalt.git
synced 2026-05-22 22:39:42 -05:00
[PR #1472] [MERGED] bilibili: use another user agent #8819
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/1472
Author: @zImPatrick
Created: 11/21/2025
Status: ✅ Merged
Merged: 12/20/2025
Merged by: @dumbmoron
Base:
develop← Head:bilibili-ua📝 Commits (1)
fd1b36aapi/bilibili: use another user agent📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
api/src/processing/services/bilibili.js(+2 -2)📄 Description
it seems that they're specifically allergic against user agents that start with
Mozilla/OR include the wordgithub(that rules out the generic UA and the cobalt-specific UA inconfig.js), so I've just chosen to usefacebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)(also, the
bilibili.com link with part idtest seems to be broken because the video it depends on seems to be gone?)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.