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

@ -142,6 +142,8 @@ Channel(
height: 1192,
),
],
has_shorts: false,
has_live: false,
visitor_data: Some("CgszMUUzZDlGLWxiRSipqr2ZBg%3D%3D"),
content: ChannelInfo(
create_date: Some("2009-04-04"),

View file

@ -142,6 +142,8 @@ Channel(
height: 1192,
),
],
has_shorts: false,
has_live: false,
visitor_data: Some("CgttaWpyTVpUN1AyZyioqr2ZBg%3D%3D"),
content: Paginator(
count: None,

View file

@ -113,6 +113,8 @@ Channel(
height: 1192,
),
],
has_shorts: true,
has_live: false,
visitor_data: Some("CgtQdE9zVVR3NVBDbyjz0ZKaBg%3D%3D"),
content: Paginator(
count: None,

View file

@ -142,6 +142,8 @@ Channel(
height: 1192,
),
],
has_shorts: false,
has_live: true,
visitor_data: Some("Cgs4ZFVmMzVlU1dxbyiBqpeaBg%3D%3D"),
content: Paginator(
count: None,

View file

@ -142,6 +142,8 @@ Channel(
height: 1192,
),
],
has_shorts: false,
has_live: false,
visitor_data: Some("CgszNU5rbDVZS2hMcyim4K2ZBg%3D%3D"),
content: Paginator(
count: None,

View file

@ -30,6 +30,8 @@ Channel(
banner: [],
mobile_banner: [],
tv_banner: [],
has_shorts: false,
has_live: false,
visitor_data: Some("Cgtvc2s4UllvTGl6byigxseZBg%3D%3D"),
content: Paginator(
count: Some(0),

View file

@ -126,6 +126,8 @@ Channel(
height: 1192,
),
],
has_shorts: false,
has_live: false,
visitor_data: Some("CgtkYXJITElwYmd4OCj85a2ZBg%3D%3D"),
content: Paginator(
count: Some(21),

View file

@ -113,6 +113,8 @@ Channel(
height: 1192,
),
],
has_shorts: false,
has_live: false,
visitor_data: Some("CgtCV1l2R2Rzb2ZSZyiu4a2ZBg%3D%3D"),
content: Paginator(
count: Some(0),

View file

@ -113,6 +113,8 @@ Channel(
height: 1192,
),
],
has_shorts: false,
has_live: false,
visitor_data: Some("CgtneXVRbGtSMWtlYyj75a2ZBg%3D%3D"),
content: Paginator(
count: None,

View file

@ -130,6 +130,8 @@ Channel(
height: 1192,
),
],
has_shorts: false,
has_live: false,
visitor_data: Some("Cgs4Ri1tLW1KNWozNCjGk8yZBg%3D%3D"),
content: Paginator(
count: None,