fix: parsing rss feeds of empty channels
This commit is contained in:
parent
49148711e0
commit
f98c85b385
2 changed files with 12 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ pub(crate) struct ChannelRss {
|
|||
pub author: Author,
|
||||
#[serde(rename = "published", with = "time::serde::rfc3339")]
|
||||
pub create_date: OffsetDateTime,
|
||||
#[serde(default)]
|
||||
pub entry: Vec<Entry>,
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue