Documentation ¶
Index ¶
Constants ¶
View Source
const ( FormatsNotFound = "no formats available that match criteria" YoutubeVideoBaseURL = "https://www.youtube.com/watch?v=" )
Variables ¶
This section is empty.
Functions ¶
func GetFileURL ¶ added in v1.1.0
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 GetFileInformation ¶ added in v1.1.0
func GetFileInformation(videoId string, fileInformationGetter FileInformationGetter, fileUrlGetter FileUrlGetter) (Video, error)
Click to show internal directories.
Click to hide internal directories.