From a8bcc3d0fd1f6fd58f15a08f4f88bc7057b8514a Mon Sep 17 00:00:00 2001 From: WakelessSloth56 Date: Mon, 8 Sep 2025 16:48:07 +0800 Subject: [PATCH] feat(video-info): add `redirectUrl` property --- src/components/video/video-info.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/video/video-info.ts b/src/components/video/video-info.ts index 9251d5689..60dab07dc 100644 --- a/src/components/video/video-info.ts +++ b/src/components/video/video-info.ts @@ -27,6 +27,7 @@ export class VideoInfo { description: string up: UpInfo pages: VideoPageInfo[] + redirectUrl?: string constructor(id: string, bvid = false) { if (bvid) { @@ -71,6 +72,7 @@ export class VideoInfo { title: it.part, pageNumber: it.page, })) + this.redirectUrl = data.redirect_url return this }