feat: add channel playlists

- add tests for channel videos
- small model refactor (rename Channel to ChannelTag)
This commit is contained in:
ThetaDev 2022-09-26 20:36:01 +02:00
parent 45707c4d01
commit 6f1a1c4440
30 changed files with 16831 additions and 241 deletions

View file

@ -207,7 +207,8 @@ pub struct VideoDetails {
pub keywords: Option<Vec<String>>,
pub channel_id: String,
pub short_description: Option<String>,
pub thumbnail: Option<Thumbnails>,
#[serde(default)]
pub thumbnail: Thumbnails,
#[serde_as(as = "JsonString")]
pub view_count: u64,
pub author: String,