Fetch YouTube transcripts. Adapted from youtube-transcript-api.
go install github.com/deepakjois/ytt/cmd/ytt@latest
Make sure $HOME/go/bin
is in path.
$ ytt -h
ytt <youtube_url>
-lang string
Language code for the desired transcript (default "en")
-no-timestamps
Don't print timestamps
-o string
Output filename (defaults to stdout)
import "github.com/deepakjois/ytt"
For detailed API documentation, visit pkg.go.dev.