it seems that they're specifically allergic against user agents that start with Mozilla/ OR include the word github (that rules out the generic UA and the cobalt-specific UA in config.js), so I've just chosen to use facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)
(also, the bilibili.com link with part id test 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.
## 📋 Pull Request Information
**Original PR:** https://github.com/imputnet/cobalt/pull/1472
**Author:** [@zImPatrick](https://github.com/zImPatrick)
**Created:** 11/21/2025
**Status:** ✅ Merged
**Merged:** 12/20/2025
**Merged by:** [@dumbmoron](https://github.com/dumbmoron)
**Base:** `develop` ← **Head:** `bilibili-ua`
---
### 📝 Commits (1)
- [`fd1b36a`](https://github.com/imputnet/cobalt/commit/fd1b36a95b025d1c0b72b8db8326436768a41c58) api/bilibili: use another user agent
### 📊 Changes
**1 file changed** (+2 additions, -2 deletions)
<details>
<summary>View changed files</summary>
📝 `api/src/processing/services/bilibili.js` (+2 -2)
</details>
### 📄 Description
it seems that they're specifically allergic against user agents that start with `Mozilla/` OR include the word `github` (that rules out the generic UA and the cobalt-specific UA in `config.js`), so I've just chosen to use `facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)`
(also, the `bilibili.com link with part id` test seems to be broken because the video it depends on seems to be gone?)
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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.