fix(bilibili): preserve video pages and CDN playback headers

This commit is contained in:
NoSetViolin committed 2026-11-12 18:07:52 +09:00
1 parent 17008ae52e
commit b7779ab108
5 files changed
+65 -2

No files matched your search

+1 -1
View File
@@ -98,7 +98,7 @@ export function buildFfmpegArgs(url: string, seekSeconds: number): string[] {
}
const isHttp = httpHostname !== null;
const isBilibili = httpHostname !== null &&
["bilivideo.com", "bilivideo.cn", "bilibili.com", "szbdyd.com"].some(
["bilivideo.com", "bilivideo.cn", "bilibili.com", "szbdyd.com", "mountaintoys.cn"].some(
domain => httpHostname === domain || httpHostname.endsWith(`.${domain}`),
);