Module ytextract::video [−][src]
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.