Module ytextract::video

source ·
Expand description

Videos.

Videos are identified by a unique Id, and can be queried with a Client.

Once you have a Video you can use Video::streams to get its Streams. These contain URLs to download videos, along with metadata about dimensions and fps.

Example

let client = ytextract::Client::new();

let video = client.video("nI2e-J6fsuk".parse()?).await?;

println!("Title: {}", video.title());

Modules

Recommended/Related items of a video.

Structs

The uploader of a video
An Id describing a Video
A Video.

Enums

A Item that is related to a Video.