mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
feat(video-info): add redirectUrl property
This commit is contained in:
parent
0ddf37cd72
commit
a8bcc3d0fd
@ -27,6 +27,7 @@ export class VideoInfo {
|
|||||||
description: string
|
description: string
|
||||||
up: UpInfo
|
up: UpInfo
|
||||||
pages: VideoPageInfo[]
|
pages: VideoPageInfo[]
|
||||||
|
redirectUrl?: string
|
||||||
|
|
||||||
constructor(id: string, bvid = false) {
|
constructor(id: string, bvid = false) {
|
||||||
if (bvid) {
|
if (bvid) {
|
||||||
@ -71,6 +72,7 @@ export class VideoInfo {
|
|||||||
title: it.part,
|
title: it.part,
|
||||||
pageNumber: it.page,
|
pageNumber: it.page,
|
||||||
}))
|
}))
|
||||||
|
this.redirectUrl = data.redirect_url
|
||||||
return this
|
return this
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user