Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 744 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 744 Bytes

ytt

Go Reference

Fetch YouTube transcripts. Adapted from youtube-transcript-api.

Install

go install github.com/deepakjois/ytt/cmd/ytt@latest

Make sure $HOME/go/bin is in path.

Usage

$ 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)

Library

import "github.com/deepakjois/ytt"

For detailed API documentation, visit pkg.go.dev.