Documentation ¶
Index ¶
Constants ¶
View Source
const ( DetailsNotFound = "rawInformation not provided, don't have from get file url" FormatsNotFound = "no formats available that match criteria" YoutubeVideoBaseURL = "https://www.youtube.com/watch?v=" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileInformationGetter ¶ added in v1.0.2
type FileUrlGetter ¶ added in v1.0.2
type Video ¶ added in v1.0.2
type Video struct { ID string URL *url.URL FileUrl *url.URL Description string Title string DatePublished time.Time Keywords []string Author string Duration time.Duration ContentType string ContentLength int64 // contains filtered or unexported fields }
func (Video) GetFileInformation ¶ added in v1.0.2
func (v Video) GetFileInformation(fileInformationGetter FileInformationGetter, fileUrlGetter FileUrlGetter) (Video, error)
func (Video) GetFileURL ¶ added in v1.0.2
func (v Video) GetFileURL(fileUrlGetter FileUrlGetter) (url.URL, error)
Click to show internal directories.
Click to hide internal directories.