feat: add has_shorts/has_live info to channels
This commit is contained in:
parent
1c0c64a8bf
commit
17f71dc9f5
13 changed files with 213 additions and 80 deletions
|
|
@ -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
|
||||
|
|
|
|||
Reference in a new issue