fix: parsing video details for DRM-restricted movies
This commit is contained in:
parent
b752b6ea9b
commit
43ed52daf9
12 changed files with 15 additions and 13 deletions
|
|
@ -567,7 +567,7 @@ pub struct VideoDetails {
|
|||
#[serde(with = "time::serde::rfc3339::option")]
|
||||
pub publish_date: Option<OffsetDateTime>,
|
||||
/// Textual video publishing date (e.g. `Aug 2, 2013`, depends on language)
|
||||
pub publish_date_txt: String,
|
||||
pub publish_date_txt: Option<String>,
|
||||
/// Is the video a livestream?
|
||||
pub is_live: bool,
|
||||
/// Is the video published under the Creative Commons BY 3.0 license?
|
||||
|
|
|
|||
Reference in a new issue