Expand description
§Asynchronous Youtube Transcript library
Get transcripts / captions of videos.
§Downloading transcript from Youtube:
let link:&str = "https://www.youtube.com/watch?v=RcYjXbSJBN8";
let youtube_loader:Youtube = YoutubeBuilder::default().build();
let transcript:Transcript = youtube_loader.transcript(link).await?;
Structs§
- Config
- configuration that contains anchor points for identifying captions from youtube’s html webpage.
- Transcript
- Struct containing youtube’s transcript data as a Vec<
TranscriptCore
> - Transcript
Core - Struct that contains data about transcirpt text along with start and duration in the whole video.
- Youtube
- Youtube container that holds the
Config
. - Youtube
Builder - Builder struct for building
Youtube