feat: add trending

This commit is contained in:
ThetaDev 2022-10-14 00:03:10 +02:00
parent 77960170bb
commit 0bc9496865
12 changed files with 71528 additions and 151 deletions

View file

@ -6,6 +6,7 @@ mod player;
mod playlist;
mod response;
mod search;
mod trends;
mod video_details;
#[cfg(feature = "rss")]
@ -123,6 +124,13 @@ struct ThirdParty {
embed_url: String,
}
#[derive(Debug, Serialize)]
#[serde(rename_all = "camelCase")]
struct QBrowse {
context: YTContext,
browse_id: String,
}
#[derive(Debug, Serialize)]
#[serde(rename_all = "camelCase")]
struct QContinuation<'a> {