Documentation ¶
Index ¶
- func DownloadDir() string
- func SaveKey(ID string) []byte
- type Engine
- func (e *Engine) CanUse() bool
- func (e *Engine) Fetch(collector *collector.Collector)
- func (e *Engine) FetchKeywords(words []string, count int, collector *collector.Collector)
- func (e *Engine) FetchPageVideos(pages []string, collector *collector.Collector)
- func (e *Engine) FetchUrlVideos(urls []string, collector *collector.Collector)
- func (e *Engine) GetVideoIds(url string, limit int, index int, videoIds []string, channel chan []string) []string
- func (e *Engine) GetVideoInfo(ID string, url string) *common.VideoModel
- func (e *Engine) Identity() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadDir ¶
func DownloadDir() string
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func NewEngine ¶
func NewEngine(conf *common.GlobalCon, acc *appAccount.AppAccount) *Engine
func (*Engine) FetchKeywords ¶
func (*Engine) FetchPageVideos ¶
func (*Engine) FetchUrlVideos ¶
func (*Engine) GetVideoIds ¶
func (*Engine) GetVideoInfo ¶
func (e *Engine) GetVideoInfo(ID string, url string) *common.VideoModel
Click to show internal directories.
Click to hide internal directories.