Documentation
¶
Overview ¶
YouTube
Index ¶
Constants ¶
View Source
const VersionAndroid = "15.01"
View Source
const VersionWeb = "1.19700101"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Android ¶ added in v1.13.3
type Android struct {
StreamingData struct {
AdaptiveFormats []Format
}
VideoDetails `json:"videoDetails"`
}
func NewAndroid ¶ added in v1.13.3
type Format ¶
type Microformat ¶ added in v1.13.6
type Microformat struct {
PlayerMicroformatRenderer `json:"playerMicroformatRenderer"`
}
type PlayerMicroformatRenderer ¶ added in v1.13.6
type Result ¶ added in v1.14.7
type Result struct {
Contents struct {
TwoColumnSearchResultsRenderer `json:"twoColumnSearchResultsRenderer"`
}
}
func (Result) VideoRenderers ¶ added in v1.14.7
func (r Result) VideoRenderers() []VideoRenderer
type TwoColumnSearchResultsRenderer ¶ added in v1.13.7
type TwoColumnSearchResultsRenderer struct {
PrimaryContents struct {
SectionListRenderer struct {
Contents []struct {
ItemSectionRenderer struct {
Contents []struct {
VideoRenderer `json:"videoRenderer"`
}
}
}
}
}
}
type VideoDetails ¶ added in v1.13.6
type VideoRenderer ¶ added in v1.11.2
type VideoRenderer struct {
VideoID string
}
type Web ¶ added in v1.13.3
type Web struct {
Microformat `json:"microformat"`
VideoDetails `json:"videoDetails"`
}
Click to show internal directories.
Click to hide internal directories.