Versions in this module Expand all Collapse all v0 v0.3.3 Oct 24, 2024 Changes in this version + var ErrVideoNotFound = errors.New("video not found") + func EnableYouTubeAPI(apiKey string) error + func IsYouTubeLink(videoURL *url.URL) bool + type Options struct + DisableFastYouTubeRetry bool + SkipFastYouTube bool + type VideoInfo struct + ChannelHandle string + ChannelID string + ChannelName string + Duration time.Duration + HashTags []string + ID string + LinkedChannels []string + LinkedVideos []string + Platform string + Thumbnail string + Title string + URL string + func GetVideoInfo(ctx context.Context, videoURL *url.URL, opts Options) (v *VideoInfo, err error)