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 Request ¶ added in v1.14.1
type Request struct { Context struct { Client struct { ClientName string `json:"clientName"` ClientVersion string `json:"clientVersion"` } `json:"client"` } `json:"context"` Query string `json:"query"` VideoID string `json:"videoId"` }
func QueryRequest ¶ added in v1.14.1
func VideoRequest ¶ added in v1.14.1
type Search ¶ added in v1.11.2
type Search struct { Contents struct { TwoColumnSearchResultsRenderer `json:"twoColumnSearchResultsRenderer"` } }
func (Search) VideoRenderers ¶ added in v1.11.2
func (s Search) 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.