Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetVideoTitle ¶
Gets the title of a video given its ID
Types ¶
type TranscriptResponse ¶
func FetchTranscript ¶
func FetchTranscript(videoID, lang, country string) ([]TranscriptResponse, string, error)
FetchTranscript fetches the transcript for a given video ID
type YoutubeTranscriptError ¶
type YoutubeTranscriptError struct {
Message string
}
func (*YoutubeTranscriptError) Error ¶
func (e *YoutubeTranscriptError) Error() string
Click to show internal directories.
Click to hide internal directories.