Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllHashes ¶
GetAllHashes returns all video hashes from given search
Types ¶
type SearchData ¶
type SearchData struct {
Title string
Description string
ID string
Date string
Image string
URL string
Hash string
Type string
}
SearchData has all information from search page
type SearchDatas ¶
type SearchDatas []SearchData
SearchDatas ...
func FindVideo ¶
func FindVideo(name string, category string) SearchDatas
FindVideo finds the material and returns informations about it
type VideoData ¶
type VideoData struct {
Title string
Description string
Thumbnails []string
Duration string
Hash string
Videos VideoStreams
}
VideoData has all information about video page
type VideoStream ¶
VideoStream has actual video file data
type VideoStreams ¶
type VideoStreams []VideoStream
VideoStreams ..
func (VideoStreams) Len ¶
func (slice VideoStreams) Len() int
func (VideoStreams) Less ¶
func (slice VideoStreams) Less(i, j int) bool
func (VideoStreams) Swap ¶
func (slice VideoStreams) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.