youtube

package
v0.0.0-...-78d0e39 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadDir

func DownloadDir() string

func SaveKey

func SaveKey(ID string) []byte

Types

type Engine

type Engine struct {
	// contains filtered or unexported fields
}

func NewEngine

func NewEngine(conf *common.GlobalCon, acc *appAccount.AppAccount) *Engine

func (*Engine) CanUse

func (e *Engine) CanUse() bool

func (*Engine) Fetch

func (e *Engine) Fetch(collector *collector.Collector)

func (*Engine) FetchKeywords

func (e *Engine) FetchKeywords(words []string, count int, collector *collector.Collector)

func (*Engine) FetchPageVideos

func (e *Engine) FetchPageVideos(pages []string, collector *collector.Collector)

func (*Engine) FetchUrlVideos

func (e *Engine) FetchUrlVideos(urls []string, collector *collector.Collector)

func (*Engine) GetVideoIds

func (e *Engine) GetVideoIds(url string, limit int, index int, videoIds []string, channel chan []string) []string

func (*Engine) GetVideoInfo

func (e *Engine) GetVideoInfo(ID string, url string) *common.VideoModel

func (*Engine) Identity

func (e *Engine) Identity() string

Jump to

Keyboard shortcuts

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