Youtube Transcript
Retrieve transcript of any youtube video.
Documentation
Install
cargo install youtube-transcript
Usage:
as Commandline
renders transcript in text format / json format. By default it's text.
==========
==========
For json
{
{
}
{
}
}
as Library
youtube-transcript is an async library and below is the example to use in an applicatio:
let link:&str="https://www.youtube.com/watch?v=RcYjXbSJBN8";
# Create a youtube instance from builder.
let youtube_loader:Youtube = default.build;
# Get the transcript by loading youtube url.
let transcript:Transcript=youtube_loader.transcript.await?;
Other tools
Inspired from: youtube-transcript-api