youtube

package
v0.0.0-...-e903da8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClient

func GetClient() *youtube.Service

func GetVideoIdFromYoutubeUrl

func GetVideoIdFromYoutubeUrl(youtubeUrl string) string

func GetVideoInfo

func GetVideoInfo(videoID string) *youtube.Video
func Search(query string, maxResults int64) (v map[string]string, c map[string]string, p map[string]string)

Types

type Comment

type Comment struct {
	Id       string
	VideoId  string
	Content  string
	ParentId *string
	Children []Comment
}

func GetCommentThreads

func GetCommentThreads(videoId string, maxResults int64) []Comment

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL