invidious 0.7.8

Get information about videos from YouTube with this simple Invidious API wrapper. Does not use the YouTube API (No tokens required)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use serde::{Deserialize, Serialize};

use crate::CommonThumbnail;

#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct VideoShort {
    #[serde(rename = "videoId")]
    pub id: String,
    pub title: String,
    #[serde(rename = "videoThumbnails")]
    pub thumbnails: Vec<CommonThumbnail>,
    pub author: String,
    #[serde(rename = "lengthSeconds")]
    pub length: u32,
    #[serde(rename = "viewCountText")]
    pub views_text: String,
}