feat: add has_shorts/has_live info to channels

This commit is contained in:
ThetaDev 2022-10-28 21:52:16 +02:00
parent 1c0c64a8bf
commit 17f71dc9f5
13 changed files with 213 additions and 80 deletions

View file

@ -683,6 +683,10 @@ pub struct Channel<T> {
pub mobile_banner: Vec<Thumbnail>,
/// Banner image shown above the channel (16:9 fullscreen format for TV)
pub tv_banner: Vec<Thumbnail>,
/// Does the channel have a *Shorts* tab?
pub has_shorts: bool,
/// Does the channel have a *Live* tab?
pub has_live: bool,
/// YouTube visitor data cookie
pub visitor_data: Option<String>,
/// Content fetched from the channel