Crate ytextract[−][src]
Expand description
A Library for extracting information from YouTube pages.
Basic Example
// Get a Client for making request let client = ytextract::Client::new().await?; // Get information about the Video identified by the id "nI2e-J6fsuk". let video = client.video("nI2e-J6fsuk".parse()?).await?; // Print the title of the Video println!("Title: {}", video.title());
Re-exports
pub use stream::Stream; | |
pub use video::Video; |
Modules
channel | Channel types. |
stream | Streams of a YouTube video |
video | Video types. |
Structs
Client | A Client capable of interacting with YouTube |
Id | A Youtube Id, associated with various things. |
Thumbnail | A Thumbnail. |
Enums
Error | Errors produced by this Library |
Type Definitions
Result | The Result type used by this library |