From 9aafb84e0f658a8973d689c7aef0158c3226e510 Mon Sep 17 00:00:00 2001 From: ThetaDev Date: Tue, 18 Oct 2022 11:45:51 +0200 Subject: [PATCH] feat: add verification to channel model - clean up response models - change verification status serialization --- src/client/channel.rs | 2 + src/client/response/channel.rs | 5 +- src/client/response/mod.rs | 32 +-- src/client/response/player.rs | 2 - src/client/response/video_details.rs | 33 ++- ...ent__channel__tests__map_channel_info.snap | 1 + ...channel__tests__map_channel_playlists.snap | 1 + ..._map_channel_videos_20221011_richgrid.snap | 1 + ...map_channel_videos_20221011_richgrid2.snap | 1 + ...annel__tests__map_channel_videos_base.snap | 1 + ...nnel__tests__map_channel_videos_empty.snap | 1 + ...annel__tests__map_channel_videos_live.snap | 1 + ...nnel__tests__map_channel_videos_music.snap | 1 + ...nel__tests__map_channel_videos_shorts.snap | 1 + ...l__tests__map_channel_videos_upcoming.snap | 1 + ...agination__tests__map_recommendations.snap | 38 ++-- ...client__pagination__tests__map_search.snap | 32 +-- ...ent__pagination__tests__map_startpage.snap | 48 ++--- ...nt__search__tests__map_search_default.snap | 40 ++-- ...__search__tests__map_search_playlists.snap | 40 ++-- ..._client__trends__tests__map_startpage.snap | 42 ++-- ...__client__trends__tests__map_trending.snap | 196 +++++++++--------- ...o_details__tests__map_comments_latest.snap | 36 ++-- ...ideo_details__tests__map_comments_top.snap | 40 ++-- ...s__map_video_details_20220924_newdesc.snap | 36 ++-- ...deo_details_20221011_new_continuation.snap | 40 ++-- ...s__map_video_details_20221011_rec_isr.snap | 42 ++-- ...ils__tests__map_video_details_agegate.snap | 2 +- ...ls__tests__map_video_details_ccommons.snap | 40 ++-- ...ls__tests__map_video_details_chapters.snap | 40 ++-- ...etails__tests__map_video_details_live.snap | 42 ++-- ...tails__tests__map_video_details_music.snap | 30 +-- ..._details__tests__map_video_details_mv.snap | 38 ++-- src/model/mod.rs | 3 +- tests/youtube.rs | 1 + 35 files changed, 459 insertions(+), 451 deletions(-) diff --git a/src/client/channel.rs b/src/client/channel.rs index 6d07434..99fc25a 100644 --- a/src/client/channel.rs +++ b/src/client/channel.rs @@ -300,6 +300,7 @@ fn map_channel( .subscriber_count_text .and_then(|txt| util::parse_large_numstr(&txt, lang)), avatar: header.avatar.into(), + verification: header.badges.into(), description: metadata.description, tags: microformat.microformat_data_renderer.tags, vanity_url, @@ -333,6 +334,7 @@ fn map_channel( .and_then(|txt| util::parse_large_numstr(txt, lang)) }), avatar: hdata.map(|hdata| hdata.1.into()).unwrap_or_default(), + verification: crate::model::Verification::None, description: metadata.description, tags: microformat.microformat_data_renderer.tags, vanity_url, diff --git a/src/client/response/channel.rs b/src/client/response/channel.rs index 2aaa72f..b90a79d 100644 --- a/src/client/response/channel.rs +++ b/src/client/response/channel.rs @@ -120,8 +120,9 @@ pub(crate) struct HeaderRenderer { pub subscriber_count_text: Option, #[serde(default)] pub avatar: Thumbnails, - #[serde_as(as = "Option>")] - pub badges: Option>, + #[serde(default)] + #[serde_as(as = "VecSkipError<_>")] + pub badges: Vec, #[serde(default)] pub banner: Thumbnails, #[serde(default)] diff --git a/src/client/response/mod.rs b/src/client/response/mod.rs index d5ab14a..644b998 100644 --- a/src/client/response/mod.rs +++ b/src/client/response/mod.rs @@ -1,7 +1,7 @@ pub(crate) mod channel; pub(crate) mod player; pub(crate) mod playlist; -pub(crate) mod playlist_music; +// pub(crate) mod playlist_music; pub(crate) mod search; pub(crate) mod trends; pub(crate) mod url_endpoint; @@ -12,7 +12,7 @@ pub(crate) use channel::Channel; pub(crate) use player::Player; pub(crate) use playlist::Playlist; pub(crate) use playlist::PlaylistCont; -pub(crate) use playlist_music::PlaylistMusic; +// pub(crate) use playlist_music::PlaylistMusic; pub(crate) use search::Search; pub(crate) use trends::Startpage; pub(crate) use trends::Trending; @@ -28,14 +28,11 @@ pub(crate) mod channel_rss; pub(crate) use channel_rss::ChannelRss; use serde::Deserialize; -use serde_with::{json::JsonString, serde_as, DefaultOnError, VecSkipError}; +use serde_with::{json::JsonString, serde_as, VecSkipError}; use crate::error::ExtractionError; use crate::serializer::MapResult; -use crate::serializer::{ - text::{Text, TextComponent}, - VecLogError, -}; +use crate::serializer::{text::Text, VecLogError}; #[derive(Debug, Deserialize)] #[serde(rename_all = "camelCase")] @@ -110,25 +107,6 @@ pub(crate) enum IconType { Like, } -#[derive(Debug, Deserialize)] -#[serde(rename_all = "camelCase")] -pub(crate) struct VideoOwner { - pub video_owner_renderer: VideoOwnerRenderer, -} - -#[serde_as] -#[derive(Debug, Deserialize)] -#[serde(rename_all = "camelCase")] -pub(crate) struct VideoOwnerRenderer { - pub title: TextComponent, - pub thumbnail: Thumbnails, - #[serde_as(as = "Option")] - pub subscriber_count_text: Option, - #[serde(default)] - #[serde_as(as = "VecSkipError<_>")] - pub badges: Vec, -} - #[derive(Debug, Deserialize)] #[serde(rename_all = "camelCase")] pub(crate) struct ChannelBadge { @@ -201,6 +179,7 @@ pub(crate) struct ResponseContext { // YouTube Music +/* #[serde_as] #[derive(Debug, Deserialize)] #[serde(rename_all = "camelCase")] @@ -251,6 +230,7 @@ pub(crate) struct MusicColumn { pub(crate) struct MusicColumnRenderer { pub text: TextComponent, } +*/ #[derive(Debug, Deserialize)] #[serde(rename_all = "camelCase")] diff --git a/src/client/response/player.rs b/src/client/response/player.rs index a07677d..a1162ad 100644 --- a/src/client/response/player.rs +++ b/src/client/response/player.rs @@ -94,8 +94,6 @@ pub(crate) struct Format { pub audio_quality: Option, #[serde_as(as = "Option")] pub audio_sample_rate: Option, - pub audio_channels: Option, - pub loudness_db: Option, pub audio_track: Option, pub signature_cipher: Option, diff --git a/src/client/response/video_details.rs b/src/client/response/video_details.rs index 72add27..19a0cce 100644 --- a/src/client/response/video_details.rs +++ b/src/client/response/video_details.rs @@ -4,6 +4,7 @@ use serde::Deserialize; use serde_with::serde_as; use serde_with::{DefaultOnError, VecSkipError}; +use crate::serializer::text::TextComponent; use crate::serializer::{ ignore_any, text::{AccessibilityText, AttributedText, Text, TextComponents}, @@ -12,9 +13,9 @@ use crate::serializer::{ use super::{ url_endpoint::BrowseEndpoint, ContinuationEndpoint, ContinuationItemRenderer, Icon, - MusicContinuation, Thumbnails, VideoOwner, + MusicContinuation, Thumbnails, }; -use super::{ResponseContext, YouTubeListItem}; +use super::{ChannelBadge, ResponseContext, YouTubeListItem}; /* #VIDEO DETAILS @@ -175,6 +176,27 @@ pub(crate) struct ToggleButton { pub accessibility_data: String, } +/// Video channel information +#[derive(Debug, Deserialize)] +#[serde(rename_all = "camelCase")] +pub(crate) struct VideoOwner { + pub video_owner_renderer: VideoOwnerRenderer, +} + +/// Video channel information +#[serde_as] +#[derive(Debug, Deserialize)] +#[serde(rename_all = "camelCase")] +pub(crate) struct VideoOwnerRenderer { + pub title: TextComponent, + pub thumbnail: Thumbnails, + #[serde_as(as = "Option")] + pub subscriber_count_text: Option, + #[serde(default)] + #[serde_as(as = "VecSkipError<_>")] + pub badges: Vec, +} + /// Shows additional video metadata. Its only known use is for /// the Creative Commonse License. #[derive(Debug, Deserialize)] @@ -382,13 +404,6 @@ pub(crate) struct CommentItemSectionHeader { #[derive(Debug, Deserialize)] #[serde(rename_all = "camelCase")] pub(crate) struct CommentItemSectionHeaderRenderer { - /// Approximate comment count (e.g. `81`, `2.2K`, `705K`) - /// - /// The accurate count is included in the first comment response. - /// - /// Is `None` if there are no comments. - #[serde_as(as = "Option")] - pub contextual_info: Option, pub menu: CommentItemSectionHeaderMenu, } diff --git a/src/client/snapshots/rustypipe__client__channel__tests__map_channel_info.snap b/src/client/snapshots/rustypipe__client__channel__tests__map_channel_info.snap index 22c25fe..6d71013 100644 --- a/src/client/snapshots/rustypipe__client__channel__tests__map_channel_info.snap +++ b/src/client/snapshots/rustypipe__client__channel__tests__map_channel_info.snap @@ -23,6 +23,7 @@ Channel( height: 176, ), ], + verification: Verified, description: "NO SCRIPT, NO FEAR, ALL OPINION\nAn off-the-cuff Video Blog about Electronics Engineering, for engineers, hobbyists, enthusiasts, hackers and Makers\nHosted by Dave Jones from Sydney Australia\n\nDONATIONS:\nBitcoin: 3KqyH1U3qrMPnkLufM2oHDU7YB4zVZeFyZ\nEthereum: 0x99ccc4d2654ba40744a1f678d9868ecb15e91206\nPayPal: david@alternatezone.com\n\nPatreon: https://www.patreon.com/eevblog\n\nEEVblog2: http://www.youtube.com/EEVblog2\nEEVdiscover: https://www.youtube.com/channel/UCkGvUEt8iQLmq3aJIMjT2qQ\n\nEMAIL:\nAdvertising/Commercial: eevblog+business@gmail.com\nFan mail: eevblog+fan@gmail.com\nHate Mail: eevblog+hate@gmail.com\n\nI DON\'T DO PAID VIDEO SPONSORSHIPS, DON\'T ASK!\n\nPLEASE:\nDo NOT ask for personal advice on something, post it in the EEVblog forum.\nI read ALL email, but please don\'t be offended if I don\'t have time to reply, I get a LOT of email.\n\nMailbag\nPO Box 7949\nBaulkham Hills NSW 2153\nAUSTRALIA", tags: [ "electronics", diff --git a/src/client/snapshots/rustypipe__client__channel__tests__map_channel_playlists.snap b/src/client/snapshots/rustypipe__client__channel__tests__map_channel_playlists.snap index 9c30e3e..0221238 100644 --- a/src/client/snapshots/rustypipe__client__channel__tests__map_channel_playlists.snap +++ b/src/client/snapshots/rustypipe__client__channel__tests__map_channel_playlists.snap @@ -23,6 +23,7 @@ Channel( height: 176, ), ], + verification: Verified, description: "NO SCRIPT, NO FEAR, ALL OPINION\nAn off-the-cuff Video Blog about Electronics Engineering, for engineers, hobbyists, enthusiasts, hackers and Makers\nHosted by Dave Jones from Sydney Australia\n\nDONATIONS:\nBitcoin: 3KqyH1U3qrMPnkLufM2oHDU7YB4zVZeFyZ\nEthereum: 0x99ccc4d2654ba40744a1f678d9868ecb15e91206\nPayPal: david@alternatezone.com\n\nPatreon: https://www.patreon.com/eevblog\n\nEEVblog2: http://www.youtube.com/EEVblog2\nEEVdiscover: https://www.youtube.com/channel/UCkGvUEt8iQLmq3aJIMjT2qQ\n\nEMAIL:\nAdvertising/Commercial: eevblog+business@gmail.com\nFan mail: eevblog+fan@gmail.com\nHate Mail: eevblog+hate@gmail.com\n\nI DON\'T DO PAID VIDEO SPONSORSHIPS, DON\'T ASK!\n\nPLEASE:\nDo NOT ask for personal advice on something, post it in the EEVblog forum.\nI read ALL email, but please don\'t be offended if I don\'t have time to reply, I get a LOT of email.\n\nMailbag\nPO Box 7949\nBaulkham Hills NSW 2153\nAUSTRALIA", tags: [ "electronics", diff --git a/src/client/snapshots/rustypipe__client__channel__tests__map_channel_videos_20221011_richgrid.snap b/src/client/snapshots/rustypipe__client__channel__tests__map_channel_videos_20221011_richgrid.snap index d2e5a1d..afe93e4 100644 --- a/src/client/snapshots/rustypipe__client__channel__tests__map_channel_videos_20221011_richgrid.snap +++ b/src/client/snapshots/rustypipe__client__channel__tests__map_channel_videos_20221011_richgrid.snap @@ -23,6 +23,7 @@ Channel( height: 176, ), ], + verification: Verified, description: "Hi, I’m Tina, aka Doobydobap!\n\nFood is the medium I use to tell stories and connect with people who share the same passion as I do. Whether it’s because you’re hungry at midnight or trying to learn how to cook, I hope you enjoy watching my content and recipes. Don\'t yuck my yum!\n\nwww.doobydobap.com\n", tags: [], vanity_url: Some("https://www.youtube.com/c/Doobydobap"), diff --git a/src/client/snapshots/rustypipe__client__channel__tests__map_channel_videos_20221011_richgrid2.snap b/src/client/snapshots/rustypipe__client__channel__tests__map_channel_videos_20221011_richgrid2.snap index 0fb083f..965052f 100644 --- a/src/client/snapshots/rustypipe__client__channel__tests__map_channel_videos_20221011_richgrid2.snap +++ b/src/client/snapshots/rustypipe__client__channel__tests__map_channel_videos_20221011_richgrid2.snap @@ -23,6 +23,7 @@ Channel( height: 176, ), ], + verification: Verified, description: "NO SCRIPT, NO FEAR, ALL OPINION\nAn off-the-cuff Video Blog about Electronics Engineering, for engineers, hobbyists, enthusiasts, hackers and Makers\nHosted by Dave Jones from Sydney Australia\n\nDONATIONS:\nBitcoin: 3KqyH1U3qrMPnkLufM2oHDU7YB4zVZeFyZ\nEthereum: 0x99ccc4d2654ba40744a1f678d9868ecb15e91206\nPayPal: david@alternatezone.com\n\nPatreon: https://www.patreon.com/eevblog\n\nEEVblog2: http://www.youtube.com/EEVblog2\nEEVdiscover: https://www.youtube.com/channel/UCkGvUEt8iQLmq3aJIMjT2qQ\n\nEMAIL:\nAdvertising/Commercial: eevblog+business@gmail.com\nFan mail: eevblog+fan@gmail.com\nHate Mail: eevblog+hate@gmail.com\n\nI DON\'T DO PAID VIDEO SPONSORSHIPS, DON\'T ASK!\n\nPLEASE:\nDo NOT ask for personal advice on something, post it in the EEVblog forum.\nI read ALL email, but please don\'t be offended if I don\'t have time to reply, I get a LOT of email.\n\nMailbag\nPO Box 7949\nBaulkham Hills NSW 2153\nAUSTRALIA", tags: [ "electronics", diff --git a/src/client/snapshots/rustypipe__client__channel__tests__map_channel_videos_base.snap b/src/client/snapshots/rustypipe__client__channel__tests__map_channel_videos_base.snap index 9a98b9c..25a9b7c 100644 --- a/src/client/snapshots/rustypipe__client__channel__tests__map_channel_videos_base.snap +++ b/src/client/snapshots/rustypipe__client__channel__tests__map_channel_videos_base.snap @@ -23,6 +23,7 @@ Channel( height: 176, ), ], + verification: Verified, description: "NO SCRIPT, NO FEAR, ALL OPINION\nAn off-the-cuff Video Blog about Electronics Engineering, for engineers, hobbyists, enthusiasts, hackers and Makers\nHosted by Dave Jones from Sydney Australia\n\nDONATIONS:\nBitcoin: 3KqyH1U3qrMPnkLufM2oHDU7YB4zVZeFyZ\nEthereum: 0x99ccc4d2654ba40744a1f678d9868ecb15e91206\nPayPal: david@alternatezone.com\n\nPatreon: https://www.patreon.com/eevblog\n\nEEVblog2: http://www.youtube.com/EEVblog2\nEEVdiscover: https://www.youtube.com/channel/UCkGvUEt8iQLmq3aJIMjT2qQ\n\nEMAIL:\nAdvertising/Commercial: eevblog+business@gmail.com\nFan mail: eevblog+fan@gmail.com\nHate Mail: eevblog+hate@gmail.com\n\nI DON\'T DO PAID VIDEO SPONSORSHIPS, DON\'T ASK!\n\nPLEASE:\nDo NOT ask for personal advice on something, post it in the EEVblog forum.\nI read ALL email, but please don\'t be offended if I don\'t have time to reply, I get a LOT of email.\n\nMailbag\nPO Box 7949\nBaulkham Hills NSW 2153\nAUSTRALIA", tags: [ "electronics", diff --git a/src/client/snapshots/rustypipe__client__channel__tests__map_channel_videos_empty.snap b/src/client/snapshots/rustypipe__client__channel__tests__map_channel_videos_empty.snap index 4edbfc4..80d53ad 100644 --- a/src/client/snapshots/rustypipe__client__channel__tests__map_channel_videos_empty.snap +++ b/src/client/snapshots/rustypipe__client__channel__tests__map_channel_videos_empty.snap @@ -23,6 +23,7 @@ Channel( height: 176, ), ], + verification: None, description: "", tags: [], vanity_url: None, diff --git a/src/client/snapshots/rustypipe__client__channel__tests__map_channel_videos_live.snap b/src/client/snapshots/rustypipe__client__channel__tests__map_channel_videos_live.snap index 32e3b8f..fc8a24e 100644 --- a/src/client/snapshots/rustypipe__client__channel__tests__map_channel_videos_live.snap +++ b/src/client/snapshots/rustypipe__client__channel__tests__map_channel_videos_live.snap @@ -23,6 +23,7 @@ Channel( height: 176, ), ], + verification: Verified, description: "Welcome to The Good Life by Sensual Musique.\nThe second official channel of Sensual Musique. You can find a lot of music, live streams and some other things on this channel. Stay tuned :)\n\nSubmit your music here: submit.sensualmusiquenetwork@gmail.com", tags: [ "live radio", diff --git a/src/client/snapshots/rustypipe__client__channel__tests__map_channel_videos_music.snap b/src/client/snapshots/rustypipe__client__channel__tests__map_channel_videos_music.snap index 8c458b6..806e3ee 100644 --- a/src/client/snapshots/rustypipe__client__channel__tests__map_channel_videos_music.snap +++ b/src/client/snapshots/rustypipe__client__channel__tests__map_channel_videos_music.snap @@ -23,6 +23,7 @@ Channel( height: 176, ), ], + verification: None, description: "", tags: [], vanity_url: None, diff --git a/src/client/snapshots/rustypipe__client__channel__tests__map_channel_videos_shorts.snap b/src/client/snapshots/rustypipe__client__channel__tests__map_channel_videos_shorts.snap index 01ba7d9..5bfbb39 100644 --- a/src/client/snapshots/rustypipe__client__channel__tests__map_channel_videos_shorts.snap +++ b/src/client/snapshots/rustypipe__client__channel__tests__map_channel_videos_shorts.snap @@ -23,6 +23,7 @@ Channel( height: 176, ), ], + verification: Verified, description: "Hi, I’m Tina, aka Doobydobap!\n\nFood is the medium I use to tell stories and connect with people who share the same passion as I do. Whether it’s because you’re hungry at midnight or trying to learn how to cook, I hope you enjoy watching my content and recipes. Don\'t yuck my yum!\n\nwww.doobydobap.com\n", tags: [], vanity_url: Some("https://www.youtube.com/c/Doobydobap"), diff --git a/src/client/snapshots/rustypipe__client__channel__tests__map_channel_videos_upcoming.snap b/src/client/snapshots/rustypipe__client__channel__tests__map_channel_videos_upcoming.snap index b6f3970..17d784b 100644 --- a/src/client/snapshots/rustypipe__client__channel__tests__map_channel_videos_upcoming.snap +++ b/src/client/snapshots/rustypipe__client__channel__tests__map_channel_videos_upcoming.snap @@ -23,6 +23,7 @@ Channel( height: 176, ), ], + verification: Verified, description: "BRAND NEW SECOND CHANNEL: https://youtube.com/channel/UCcsQYra-bISsFxNqnd6Javw\n\nJoin my Discord: https://discord.gg/2YcarWsc8S\n", tags: [ "politics", diff --git a/src/client/snapshots/rustypipe__client__pagination__tests__map_recommendations.snap b/src/client/snapshots/rustypipe__client__pagination__tests__map_recommendations.snap index a00dfc8..6e0e9a9 100644 --- a/src/client/snapshots/rustypipe__client__pagination__tests__map_recommendations.snap +++ b/src/client/snapshots/rustypipe__client__pagination__tests__map_recommendations.snap @@ -31,7 +31,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -68,7 +68,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -105,7 +105,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -142,7 +142,7 @@ Paginator( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -179,7 +179,7 @@ Paginator( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -216,7 +216,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -253,7 +253,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -290,7 +290,7 @@ Paginator( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -327,7 +327,7 @@ Paginator( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -364,7 +364,7 @@ Paginator( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -401,7 +401,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -438,7 +438,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -475,7 +475,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -512,7 +512,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -549,7 +549,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -586,7 +586,7 @@ Paginator( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -623,7 +623,7 @@ Paginator( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -660,7 +660,7 @@ Paginator( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -697,7 +697,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", diff --git a/src/client/snapshots/rustypipe__client__pagination__tests__map_search.snap b/src/client/snapshots/rustypipe__client__pagination__tests__map_search.snap index be90bba..ca5e349 100644 --- a/src/client/snapshots/rustypipe__client__pagination__tests__map_search.snap +++ b/src/client/snapshots/rustypipe__client__pagination__tests__map_search.snap @@ -26,7 +26,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -58,7 +58,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -95,7 +95,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -127,7 +127,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -164,7 +164,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -201,7 +201,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -238,7 +238,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -270,7 +270,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -302,7 +302,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -334,7 +334,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -366,7 +366,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -403,7 +403,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -435,7 +435,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -467,7 +467,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -504,7 +504,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -536,7 +536,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", diff --git a/src/client/snapshots/rustypipe__client__pagination__tests__map_startpage.snap b/src/client/snapshots/rustypipe__client__pagination__tests__map_startpage.snap index bdd5699..7e8a2cb 100644 --- a/src/client/snapshots/rustypipe__client__pagination__tests__map_startpage.snap +++ b/src/client/snapshots/rustypipe__client__pagination__tests__map_startpage.snap @@ -26,7 +26,7 @@ Paginator( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -58,7 +58,7 @@ Paginator( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -90,7 +90,7 @@ Paginator( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -127,7 +127,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -164,7 +164,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -201,7 +201,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -238,7 +238,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -275,7 +275,7 @@ Paginator( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -312,7 +312,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -349,7 +349,7 @@ Paginator( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -386,7 +386,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -423,7 +423,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -460,7 +460,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -497,7 +497,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -534,7 +534,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -571,7 +571,7 @@ Paginator( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -608,7 +608,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -645,7 +645,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -682,7 +682,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -719,7 +719,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -756,7 +756,7 @@ Paginator( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -793,7 +793,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -830,7 +830,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -867,7 +867,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", diff --git a/src/client/snapshots/rustypipe__client__search__tests__map_search_default.snap b/src/client/snapshots/rustypipe__client__search__tests__map_search_default.snap index f145aeb..44a88f1 100644 --- a/src/client/snapshots/rustypipe__client__search__tests__map_search_default.snap +++ b/src/client/snapshots/rustypipe__client__search__tests__map_search_default.snap @@ -21,7 +21,7 @@ SearchResult( height: 176, ), ], - verification: verified, + verification: Verified, subscriber_count: Some(292), video_count: 219, short_description: "Hi, I\'m Tina, aka Doobydobap! Food is the medium I use to tell stories and connect with people who share the same passion as I\u{a0}...", @@ -52,7 +52,7 @@ SearchResult( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -89,7 +89,7 @@ SearchResult( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -126,7 +126,7 @@ SearchResult( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -163,7 +163,7 @@ SearchResult( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -200,7 +200,7 @@ SearchResult( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -237,7 +237,7 @@ SearchResult( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -274,7 +274,7 @@ SearchResult( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -311,7 +311,7 @@ SearchResult( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -348,7 +348,7 @@ SearchResult( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -385,7 +385,7 @@ SearchResult( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -422,7 +422,7 @@ SearchResult( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -459,7 +459,7 @@ SearchResult( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -496,7 +496,7 @@ SearchResult( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -533,7 +533,7 @@ SearchResult( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -570,7 +570,7 @@ SearchResult( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -607,7 +607,7 @@ SearchResult( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -644,7 +644,7 @@ SearchResult( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -681,7 +681,7 @@ SearchResult( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -718,7 +718,7 @@ SearchResult( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", diff --git a/src/client/snapshots/rustypipe__client__search__tests__map_search_playlists.snap b/src/client/snapshots/rustypipe__client__search__tests__map_search_playlists.snap index be2ba73..ccd3437 100644 --- a/src/client/snapshots/rustypipe__client__search__tests__map_search_playlists.snap +++ b/src/client/snapshots/rustypipe__client__search__tests__map_search_playlists.snap @@ -35,7 +35,7 @@ SearchResult( id: "UC-9-kyTW8ZkZNDHQJ6FgpwQ", name: "YouTube Music", avatar: [], - verification: none, + verification: None, subscriber_count: None, )), video_count: Some(225), @@ -69,7 +69,7 @@ SearchResult( id: "UC-9-kyTW8ZkZNDHQJ6FgpwQ", name: "YouTube Music", avatar: [], - verification: none, + verification: None, subscriber_count: None, )), video_count: Some(100), @@ -103,7 +103,7 @@ SearchResult( id: "UC-9-kyTW8ZkZNDHQJ6FgpwQ", name: "YouTube Music", avatar: [], - verification: none, + verification: None, subscriber_count: None, )), video_count: Some(59), @@ -137,7 +137,7 @@ SearchResult( id: "UC-9-kyTW8ZkZNDHQJ6FgpwQ", name: "YouTube Music", avatar: [], - verification: none, + verification: None, subscriber_count: None, )), video_count: Some(100), @@ -171,7 +171,7 @@ SearchResult( id: "UC-9-kyTW8ZkZNDHQJ6FgpwQ", name: "YouTube Music", avatar: [], - verification: none, + verification: None, subscriber_count: None, )), video_count: Some(50), @@ -205,7 +205,7 @@ SearchResult( id: "UC-9-kyTW8ZkZNDHQJ6FgpwQ", name: "YouTube Music", avatar: [], - verification: none, + verification: None, subscriber_count: None, )), video_count: Some(50), @@ -239,7 +239,7 @@ SearchResult( id: "UCX9oPuvJYZsG8wnHTwOBVPA", name: "Chillax", avatar: [], - verification: none, + verification: None, subscriber_count: None, )), video_count: Some(220), @@ -273,7 +273,7 @@ SearchResult( id: "UC-9-kyTW8ZkZNDHQJ6FgpwQ", name: "YouTube Music", avatar: [], - verification: none, + verification: None, subscriber_count: None, )), video_count: Some(100), @@ -307,7 +307,7 @@ SearchResult( id: "UC-9-kyTW8ZkZNDHQJ6FgpwQ", name: "YouTube Music", avatar: [], - verification: none, + verification: None, subscriber_count: None, )), video_count: Some(67), @@ -341,7 +341,7 @@ SearchResult( id: "UC-9-kyTW8ZkZNDHQJ6FgpwQ", name: "YouTube Music", avatar: [], - verification: none, + verification: None, subscriber_count: None, )), video_count: Some(78), @@ -375,7 +375,7 @@ SearchResult( id: "UC-9-kyTW8ZkZNDHQJ6FgpwQ", name: "YouTube Music", avatar: [], - verification: none, + verification: None, subscriber_count: None, )), video_count: Some(80), @@ -409,7 +409,7 @@ SearchResult( id: "UC8Ojfs-1VLiAO_MosLwvjpQ", name: "Redlist - Ultimate Music", avatar: [], - verification: none, + verification: None, subscriber_count: None, )), video_count: Some(70), @@ -443,7 +443,7 @@ SearchResult( id: "UCesP91XKnuZVd6OJN06hokg", name: "Startup Records", avatar: [], - verification: none, + verification: None, subscriber_count: None, )), video_count: Some(164), @@ -477,7 +477,7 @@ SearchResult( id: "UCs72iRpTEuwV3y6pdWYLgiw", name: "Redlist - Just Hits", avatar: [], - verification: none, + verification: None, subscriber_count: None, )), video_count: Some(200), @@ -511,7 +511,7 @@ SearchResult( id: "UCv9O2E_G8U46Paz8828THJw", name: "Victor Vaz", avatar: [], - verification: none, + verification: None, subscriber_count: None, )), video_count: Some(50), @@ -545,7 +545,7 @@ SearchResult( id: "UC-9-kyTW8ZkZNDHQJ6FgpwQ", name: "YouTube Music", avatar: [], - verification: none, + verification: None, subscriber_count: None, )), video_count: Some(52), @@ -579,7 +579,7 @@ SearchResult( id: "UC-9-kyTW8ZkZNDHQJ6FgpwQ", name: "YouTube Music", avatar: [], - verification: none, + verification: None, subscriber_count: None, )), video_count: Some(178), @@ -613,7 +613,7 @@ SearchResult( id: "UC-9-kyTW8ZkZNDHQJ6FgpwQ", name: "YouTube Music", avatar: [], - verification: none, + verification: None, subscriber_count: None, )), video_count: Some(87), @@ -647,7 +647,7 @@ SearchResult( id: "UC-9-kyTW8ZkZNDHQJ6FgpwQ", name: "YouTube Music", avatar: [], - verification: none, + verification: None, subscriber_count: None, )), video_count: Some(50), @@ -681,7 +681,7 @@ SearchResult( id: "UCX9oPuvJYZsG8wnHTwOBVPA", name: "Chillax", avatar: [], - verification: none, + verification: None, subscriber_count: None, )), video_count: Some(100), diff --git a/src/client/snapshots/rustypipe__client__trends__tests__map_startpage.snap b/src/client/snapshots/rustypipe__client__trends__tests__map_startpage.snap index e80b146..5a1d548 100644 --- a/src/client/snapshots/rustypipe__client__trends__tests__map_startpage.snap +++ b/src/client/snapshots/rustypipe__client__trends__tests__map_startpage.snap @@ -31,7 +31,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -68,7 +68,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -105,7 +105,7 @@ Paginator( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -142,7 +142,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -174,7 +174,7 @@ Paginator( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -211,7 +211,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -248,7 +248,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -285,7 +285,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -322,7 +322,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -359,7 +359,7 @@ Paginator( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -396,7 +396,7 @@ Paginator( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -433,7 +433,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -470,7 +470,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -507,7 +507,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -544,7 +544,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -581,7 +581,7 @@ Paginator( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -618,7 +618,7 @@ Paginator( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -655,7 +655,7 @@ Paginator( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -692,7 +692,7 @@ Paginator( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -729,7 +729,7 @@ Paginator( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -766,7 +766,7 @@ Paginator( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", diff --git a/src/client/snapshots/rustypipe__client__trends__tests__map_trending.snap b/src/client/snapshots/rustypipe__client__trends__tests__map_trending.snap index 28d0443..b50f9a1 100644 --- a/src/client/snapshots/rustypipe__client__trends__tests__map_trending.snap +++ b/src/client/snapshots/rustypipe__client__trends__tests__map_trending.snap @@ -34,7 +34,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -76,7 +76,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -118,7 +118,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -160,7 +160,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -202,7 +202,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -244,7 +244,7 @@ expression: map_res.c height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -286,7 +286,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -328,7 +328,7 @@ expression: map_res.c height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -370,7 +370,7 @@ expression: map_res.c height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -412,7 +412,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -454,7 +454,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -496,7 +496,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -538,7 +538,7 @@ expression: map_res.c height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -580,7 +580,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -622,7 +622,7 @@ expression: map_res.c height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -664,7 +664,7 @@ expression: map_res.c height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -706,7 +706,7 @@ expression: map_res.c height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -748,7 +748,7 @@ expression: map_res.c height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -790,7 +790,7 @@ expression: map_res.c height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -832,7 +832,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -874,7 +874,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -916,7 +916,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -958,7 +958,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -1000,7 +1000,7 @@ expression: map_res.c height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -1042,7 +1042,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -1084,7 +1084,7 @@ expression: map_res.c height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -1126,7 +1126,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -1168,7 +1168,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -1210,7 +1210,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -1252,7 +1252,7 @@ expression: map_res.c height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -1294,7 +1294,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -1336,7 +1336,7 @@ expression: map_res.c height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -1378,7 +1378,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -1420,7 +1420,7 @@ expression: map_res.c height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -1462,7 +1462,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -1504,7 +1504,7 @@ expression: map_res.c height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -1546,7 +1546,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -1588,7 +1588,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -1630,7 +1630,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -1672,7 +1672,7 @@ expression: map_res.c height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -1714,7 +1714,7 @@ expression: map_res.c height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -1756,7 +1756,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -1798,7 +1798,7 @@ expression: map_res.c height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -1840,7 +1840,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -1882,7 +1882,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -1924,7 +1924,7 @@ expression: map_res.c height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -1966,7 +1966,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -2008,7 +2008,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -2050,7 +2050,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -2092,7 +2092,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -2134,7 +2134,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -2176,7 +2176,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -2218,7 +2218,7 @@ expression: map_res.c height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -2260,7 +2260,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -2302,7 +2302,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -2344,7 +2344,7 @@ expression: map_res.c height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -2386,7 +2386,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -2428,7 +2428,7 @@ expression: map_res.c height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -2470,7 +2470,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -2512,7 +2512,7 @@ expression: map_res.c height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -2554,7 +2554,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -2596,7 +2596,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -2638,7 +2638,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -2680,7 +2680,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -2722,7 +2722,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -2764,7 +2764,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -2806,7 +2806,7 @@ expression: map_res.c height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -2848,7 +2848,7 @@ expression: map_res.c height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -2890,7 +2890,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -2932,7 +2932,7 @@ expression: map_res.c height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -2974,7 +2974,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -3016,7 +3016,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -3058,7 +3058,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -3100,7 +3100,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -3142,7 +3142,7 @@ expression: map_res.c height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -3184,7 +3184,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -3226,7 +3226,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -3268,7 +3268,7 @@ expression: map_res.c height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -3310,7 +3310,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -3352,7 +3352,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -3394,7 +3394,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -3436,7 +3436,7 @@ expression: map_res.c height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -3478,7 +3478,7 @@ expression: map_res.c height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -3520,7 +3520,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -3562,7 +3562,7 @@ expression: map_res.c height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -3604,7 +3604,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -3646,7 +3646,7 @@ expression: map_res.c height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -3688,7 +3688,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -3730,7 +3730,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -3772,7 +3772,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -3814,7 +3814,7 @@ expression: map_res.c height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -3856,7 +3856,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -3898,7 +3898,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -3940,7 +3940,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -3982,7 +3982,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -4024,7 +4024,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -4066,7 +4066,7 @@ expression: map_res.c height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -4108,7 +4108,7 @@ expression: map_res.c height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", diff --git a/src/client/snapshots/rustypipe__client__video_details__tests__map_comments_latest.snap b/src/client/snapshots/rustypipe__client__video_details__tests__map_comments_latest.snap index 51d7074..7fa7dd7 100644 --- a/src/client/snapshots/rustypipe__client__video_details__tests__map_comments_latest.snap +++ b/src/client/snapshots/rustypipe__client__video_details__tests__map_comments_latest.snap @@ -34,7 +34,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -76,7 +76,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -119,7 +119,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -165,7 +165,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -207,7 +207,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -249,7 +249,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -291,7 +291,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -333,7 +333,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -375,7 +375,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -417,7 +417,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -459,7 +459,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -501,7 +501,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -543,7 +543,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -585,7 +585,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -627,7 +627,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -669,7 +669,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -711,7 +711,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -753,7 +753,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", diff --git a/src/client/snapshots/rustypipe__client__video_details__tests__map_comments_top.snap b/src/client/snapshots/rustypipe__client__video_details__tests__map_comments_top.snap index 957bb90..3b5c8d0 100644 --- a/src/client/snapshots/rustypipe__client__video_details__tests__map_comments_top.snap +++ b/src/client/snapshots/rustypipe__client__video_details__tests__map_comments_top.snap @@ -33,7 +33,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -75,7 +75,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -117,7 +117,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -159,7 +159,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -201,7 +201,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -248,7 +248,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -296,7 +296,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -338,7 +338,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -380,7 +380,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -422,7 +422,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -466,7 +466,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -508,7 +508,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -550,7 +550,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -592,7 +592,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -634,7 +634,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -676,7 +676,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -718,7 +718,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -760,7 +760,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -802,7 +802,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -846,7 +846,7 @@ Paginator( height: 176, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", diff --git a/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_20220924_newdesc.snap b/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_20220924_newdesc.snap index 9f857b2..8fe4e43 100644 --- a/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_20220924_newdesc.snap +++ b/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_20220924_newdesc.snap @@ -91,7 +91,7 @@ VideoDetails( height: 176, ), ], - verification: verified, + verification: Verified, subscriber_count: Some(30900000), ), view_count: 233243423, @@ -130,7 +130,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -167,7 +167,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -204,7 +204,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -241,7 +241,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -278,7 +278,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -315,7 +315,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -352,7 +352,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -389,7 +389,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -426,7 +426,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -463,7 +463,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -500,7 +500,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -537,7 +537,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -574,7 +574,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -611,7 +611,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -648,7 +648,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -685,7 +685,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -722,7 +722,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", diff --git a/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_20221011_new_continuation.snap b/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_20221011_new_continuation.snap index bf01573..9d456b3 100644 --- a/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_20221011_new_continuation.snap +++ b/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_20221011_new_continuation.snap @@ -91,7 +91,7 @@ VideoDetails( height: 176, ), ], - verification: verified, + verification: Verified, subscriber_count: Some(31000000), ), view_count: 234258725, @@ -130,7 +130,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -167,7 +167,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -204,7 +204,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -241,7 +241,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -278,7 +278,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -315,7 +315,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -352,7 +352,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -389,7 +389,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -426,7 +426,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -463,7 +463,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -500,7 +500,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -537,7 +537,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -574,7 +574,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -611,7 +611,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -648,7 +648,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -685,7 +685,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -722,7 +722,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -759,7 +759,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -796,7 +796,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", diff --git a/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_20221011_rec_isr.snap b/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_20221011_rec_isr.snap index 7b53949..27c86f6 100644 --- a/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_20221011_rec_isr.snap +++ b/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_20221011_rec_isr.snap @@ -287,7 +287,7 @@ VideoDetails( height: 176, ), ], - verification: verified, + verification: Verified, subscriber_count: Some(14900000), ), view_count: 1251797, @@ -551,7 +551,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -588,7 +588,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -625,7 +625,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -662,7 +662,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -699,7 +699,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -736,7 +736,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -773,7 +773,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -810,7 +810,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -847,7 +847,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -884,7 +884,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -921,7 +921,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -958,7 +958,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -995,7 +995,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -1032,7 +1032,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -1069,7 +1069,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -1106,7 +1106,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -1143,7 +1143,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -1180,7 +1180,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -1217,7 +1217,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -1254,7 +1254,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", diff --git a/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_agegate.snap b/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_agegate.snap index 3ea6a7e..263e711 100644 --- a/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_agegate.snap +++ b/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_agegate.snap @@ -26,7 +26,7 @@ VideoDetails( height: 176, ), ], - verification: none, + verification: None, subscriber_count: Some(1480), ), view_count: 205, diff --git a/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_ccommons.snap b/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_ccommons.snap index c58a8d4..47c7727 100644 --- a/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_ccommons.snap +++ b/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_ccommons.snap @@ -38,7 +38,7 @@ VideoDetails( height: 176, ), ], - verification: none, + verification: None, subscriber_count: Some(172000), ), view_count: 2493983, @@ -77,7 +77,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -114,7 +114,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -151,7 +151,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -188,7 +188,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -225,7 +225,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -262,7 +262,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -299,7 +299,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -336,7 +336,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -373,7 +373,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -410,7 +410,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -447,7 +447,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -484,7 +484,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -521,7 +521,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -558,7 +558,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -595,7 +595,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -632,7 +632,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -669,7 +669,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -706,7 +706,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -743,7 +743,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", diff --git a/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_chapters.snap b/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_chapters.snap index 5444508..6ba8145 100644 --- a/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_chapters.snap +++ b/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_chapters.snap @@ -281,7 +281,7 @@ VideoDetails( height: 176, ), ], - verification: verified, + verification: Verified, subscriber_count: Some(14800000), ), view_count: 971966, @@ -545,7 +545,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -582,7 +582,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -619,7 +619,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -656,7 +656,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -693,7 +693,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -730,7 +730,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -767,7 +767,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -804,7 +804,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -841,7 +841,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -878,7 +878,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -915,7 +915,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -952,7 +952,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -989,7 +989,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -1026,7 +1026,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -1063,7 +1063,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -1100,7 +1100,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -1137,7 +1137,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -1174,7 +1174,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -1211,7 +1211,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", diff --git a/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_live.snap b/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_live.snap index 62803cc..84c663b 100644 --- a/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_live.snap +++ b/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_live.snap @@ -60,7 +60,7 @@ VideoDetails( height: 176, ), ], - verification: verified, + verification: Verified, subscriber_count: Some(5590000), ), view_count: 681, @@ -99,7 +99,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -136,7 +136,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -173,7 +173,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -210,7 +210,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -247,7 +247,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -284,7 +284,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -321,7 +321,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -358,7 +358,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -395,7 +395,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -432,7 +432,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -469,7 +469,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -506,7 +506,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -543,7 +543,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -580,7 +580,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -617,7 +617,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -654,7 +654,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -691,7 +691,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -728,7 +728,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -765,7 +765,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -802,7 +802,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", diff --git a/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_music.snap b/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_music.snap index b6ee3a8..771a3bf 100644 --- a/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_music.snap +++ b/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_music.snap @@ -28,7 +28,7 @@ VideoDetails( height: 176, ), ], - verification: artist, + verification: Artist, subscriber_count: Some(33900), ), view_count: 20304, @@ -67,7 +67,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -104,7 +104,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -141,7 +141,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -178,7 +178,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -215,7 +215,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -252,7 +252,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -289,7 +289,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -326,7 +326,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -363,7 +363,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -400,7 +400,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -437,7 +437,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -474,7 +474,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -511,7 +511,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -548,7 +548,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", diff --git a/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_mv.snap b/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_mv.snap index 7bd9112..c22301a 100644 --- a/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_mv.snap +++ b/src/client/snapshots/rustypipe__client__video_details__tests__map_video_details_mv.snap @@ -91,7 +91,7 @@ VideoDetails( height: 176, ), ], - verification: verified, + verification: Verified, subscriber_count: Some(30900000), ), view_count: 232792465, @@ -130,7 +130,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -167,7 +167,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -204,7 +204,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -241,7 +241,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -278,7 +278,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -315,7 +315,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -352,7 +352,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -389,7 +389,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -426,7 +426,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -463,7 +463,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -500,7 +500,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -537,7 +537,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -574,7 +574,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -611,7 +611,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", @@ -648,7 +648,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -685,7 +685,7 @@ VideoDetails( height: 68, ), ], - verification: verified, + verification: Verified, subscriber_count: None, )), publish_date: "[date]", @@ -722,7 +722,7 @@ VideoDetails( height: 68, ), ], - verification: none, + verification: None, subscriber_count: None, )), publish_date: "[date]", @@ -759,7 +759,7 @@ VideoDetails( height: 68, ), ], - verification: artist, + verification: Artist, subscriber_count: None, )), publish_date: "[date]", diff --git a/src/model/mod.rs b/src/model/mod.rs index 4807b85..074a80d 100644 --- a/src/model/mod.rs +++ b/src/model/mod.rs @@ -582,7 +582,6 @@ pub struct ChannelTag { /// Verification status of a channel #[derive(Default, Copy, Clone, Debug, Serialize, Deserialize, PartialEq, Eq, Hash)] -#[serde(rename_all = "snake_case")] #[non_exhaustive] pub enum Verification { #[default] @@ -656,6 +655,8 @@ pub struct Channel { pub subscriber_count: Option, /// Channel avatar / profile picture pub avatar: Vec, + /// Channel verification mark + pub verification: Verification, /// Channel description text pub description: String, /// List of words to describe the topic of the channel diff --git a/tests/youtube.rs b/tests/youtube.rs index 2b31c63..232ab3d 100644 --- a/tests/youtube.rs +++ b/tests/youtube.rs @@ -984,6 +984,7 @@ fn assert_channel_eevblog(channel: &Channel) { channel.subscriber_count.unwrap() ); assert!(!channel.avatar.is_empty(), "got no thumbnails"); + assert_eq!(channel.verification, Verification::Verified); assert_eq!(channel.description, "NO SCRIPT, NO FEAR, ALL OPINION\nAn off-the-cuff Video Blog about Electronics Engineering, for engineers, hobbyists, enthusiasts, hackers and Makers\nHosted by Dave Jones from Sydney Australia\n\nDONATIONS:\nBitcoin: 3KqyH1U3qrMPnkLufM2oHDU7YB4zVZeFyZ\nEthereum: 0x99ccc4d2654ba40744a1f678d9868ecb15e91206\nPayPal: david@alternatezone.com\n\nPatreon: https://www.patreon.com/eevblog\n\nEEVblog2: http://www.youtube.com/EEVblog2\nEEVdiscover: https://www.youtube.com/channel/UCkGvUEt8iQLmq3aJIMjT2qQ\n\nEMAIL:\nAdvertising/Commercial: eevblog+business@gmail.com\nFan mail: eevblog+fan@gmail.com\nHate Mail: eevblog+hate@gmail.com\n\nI DON'T DO PAID VIDEO SPONSORSHIPS, DON'T ASK!\n\nPLEASE:\nDo NOT ask for personal advice on something, post it in the EEVblog forum.\nI read ALL email, but please don't be offended if I don't have time to reply, I get a LOT of email.\n\nMailbag\nPO Box 7949\nBaulkham Hills NSW 2153\nAUSTRALIA"); assert!(!channel.tags.is_empty(), "got no tags"); assert_eq!(