nitter-scraper 0.2.3

Scrape Nitter website
Documentation
use serde::Serialize;

#[derive(Debug, Serialize)]
pub struct Tweet {
    pub id: u128,
    pub id_str: String,
    pub created_at: String,
    pub created_at_ts: i64,
    pub user: User,
    pub full_text: String,
    pub images: Vec<String>,
    pub video: Option<Video>,
    pub links: Vec<String>,
    pub retweet: bool,
    pub reply: bool,
    pub quote: bool,
    pub pinned: bool,
    pub stats: Stats,
}

#[derive(Debug, Serialize)]
pub struct User {
    pub full_name: String,
    pub screen_name: String,
}

#[derive(Debug, Serialize)]
pub struct Video {
    pub poster: String,
    pub url: String,
}

#[derive(Debug, Serialize)]
pub struct Stats {
    pub comment: u64,
    pub retweet: u64,
    pub quote: u64,
    pub heart: u64,
}