fix: parsing playlists with empty videoInfo
This commit is contained in:
parent
c8e2d342c6
commit
dc7bd7befc
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ pub(crate) struct PlaylistVideoRenderer {
|
|||
/// Livestream: `["66K", " watching"]`
|
||||
/// Upcoming: `["8", " waiting"]`
|
||||
#[serde(default)]
|
||||
#[serde_as(as = "Text")]
|
||||
#[serde_as(as = "DefaultOnError<Text>")]
|
||||
pub video_info: Vec<String>,
|
||||
/// Contains Short/Live tag
|
||||
#[serde(default)]
|
||||
|
|
|
|||
Reference in a new issue