Documentation
¶
Index ¶
Constants ¶
View Source
const Origin = "https://api.reddit.com"
Variables ¶
View Source
var Verbose = mech.Verbose
Functions ¶
Types ¶
type Adaptation ¶ added in v1.30.2
type Adaptation struct {
MimeType string `xml:"mimeType,attr"`
Representation Representation
}
type Link ¶ added in v1.30.5
type Link struct {
Media struct {
Reddit_Video struct {
DASH_URL string
}
}
Subreddit string
Title string
URL string // https://v.redd.it/pjn0j2z4v6o71
}
type MPD ¶
type MPD struct {
Period struct {
AdaptationSet []Adaptation
}
}
type Post ¶
type Post struct {
Data struct {
Children []struct {
Kind string
Data json.RawMessage
}
}
}
type Representation ¶ added in v1.34.8
type Representation []struct {
BaseURL string
Height int `xml:"height,attr"`
MimeType string `xml:"mimeType,attr"`
}
func (Representation) Sort ¶ added in v1.34.8
func (r Representation) Sort()
Click to show internal directories.
Click to hide internal directories.