feat!: add channel_videos_tab, channel_videos_order,
remove channel_shorts, channel_livestreams fix: parsing video types and short durations
This commit is contained in:
parent
7e5cff719a
commit
3a75ed8610
20 changed files with 444 additions and 152 deletions
|
|
@ -850,7 +850,7 @@ pub struct VideoItem {
|
|||
pub publish_date: Option<OffsetDateTime>,
|
||||
/// Textual video publish date (e.g. `11 months ago`, depends on language)
|
||||
///
|
||||
/// Is [`None`] for livestreams.
|
||||
/// Is [`None`] for livestreams and upcoming videos.
|
||||
pub publish_date_txt: Option<String>,
|
||||
/// View count
|
||||
///
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ pub struct Paginator<T> {
|
|||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub visitor_data: Option<String>,
|
||||
/// YouTube API endpoint to fetch continuations from
|
||||
pub(crate) endpoint: ContinuationEndpoint,
|
||||
pub endpoint: ContinuationEndpoint,
|
||||
}
|
||||
|
||||
impl<T> Default for Paginator<T> {
|
||||
|
|
|
|||
Reference in a new issue