Documentation
¶
Overview ¶
YouTube
Index ¶
Constants ¶
View Source
const (
Origin = "https://www.youtube.com"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Format ¶
type Search ¶ added in v1.11.2
type Search struct {
Contents struct {
TwoColumnSearchResultsRenderer struct {
PrimaryContents primaryContents
}
}
}
func (Search) VideoRenderers ¶ added in v1.11.2
func (s Search) VideoRenderers() []VideoRenderer
type Video ¶
type Video struct {
StreamingData struct {
AdaptiveFormats []Format
}
Microformat struct {
PlayerMicroformatRenderer struct {
AvailableCountries []string
PublishDate string
}
}
VideoDetails struct {
Author string
ShortDescription string
Title string
ViewCount int `json:"viewCount,string"`
}
}
func (Video) Description ¶
func (Video) PublishDate ¶
type VideoRenderer ¶ added in v1.11.2
type VideoRenderer struct {
VideoID string
}
Click to show internal directories.
Click to hide internal directories.