fix: handle video details not found
This commit is contained in:
parent
c618c83ff3
commit
0d1e569248
4 changed files with 1044 additions and 3 deletions
|
|
@ -27,7 +27,7 @@ pub struct VideoDetails {
|
|||
/// Video metadata + recommended videos
|
||||
pub contents: Contents,
|
||||
/// Video ID
|
||||
pub current_video_endpoint: CurrentVideoEndpoint,
|
||||
pub current_video_endpoint: Option<CurrentVideoEndpoint>,
|
||||
/// Video chapters + comment section
|
||||
#[serde_as(as = "VecLogError<_>")]
|
||||
pub engagement_panels: MapResult<Vec<EngagementPanel>>,
|
||||
|
|
|
|||
Reference in a new issue