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
|
||||
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
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user