Struct youtube_transcript::Youtube
source · pub struct Youtube<'b> { /* private fields */ }Expand description
Youtube container that holds the Config.
Implementations§
source§impl<'b> Youtube<'b>
impl<'b> Youtube<'b>
sourcepub async fn transcript<'a>(
&self,
url: &'a str
) -> Result<Transcript, Box<dyn Error>>
pub async fn transcript<'a>( &self, url: &'a str ) -> Result<Transcript, Box<dyn Error>>
extracts Transcript from the video link provided.