Documentation ¶
Index ¶
- type Address
- type Authorization
- func (a Authorization) Content(path string) (*ContentCompiler, error)
- func (a *Authorization) Login(email, password string) error
- func (a Authorization) Playback(nid string) (*Playback, error)
- func (a *Authorization) Refresh() error
- func (a *Authorization) Unauth() error
- func (a *Authorization) Unmarshal() error
- type ContentCompiler
- type CurrentVideo
- type DataSource
- type Playback
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authorization ¶ added in v1.7.7
type Authorization struct { Data []byte V struct { Data struct { AccessToken string `json:"access_token"` RefreshToken string `json:"refresh_token"` } } }
func (Authorization) Content ¶ added in v1.7.7
func (a Authorization) Content(path string) (*ContentCompiler, error)
func (*Authorization) Login ¶ added in v1.7.7
func (a *Authorization) Login(email, password string) error
func (Authorization) Playback ¶ added in v1.7.7
func (a Authorization) Playback(nid string) (*Playback, error)
func (*Authorization) Refresh ¶ added in v1.7.7
func (a *Authorization) Refresh() error
func (*Authorization) Unauth ¶ added in v1.7.7
func (a *Authorization) Unauth() error
func (*Authorization) Unmarshal ¶ added in v1.7.7
func (a *Authorization) Unmarshal() error
type ContentCompiler ¶ added in v1.7.7
type ContentCompiler struct { Data struct { Children []struct { Properties json.RawMessage Type string } } }
func (ContentCompiler) Video ¶ added in v1.7.7
func (c ContentCompiler) Video() (*CurrentVideo, error)
type CurrentVideo ¶ added in v1.7.7
type CurrentVideo struct { Meta struct { Airdate time.Time // 1996-01-01T00:00:00.000Z EpisodeNumber int Season int `json:",string"` ShowTitle string } Text struct { Title string } }
func (CurrentVideo) Episode ¶ added in v1.7.7
func (c CurrentVideo) Episode() int
func (CurrentVideo) Season ¶ added in v1.7.7
func (c CurrentVideo) Season() int
func (CurrentVideo) Show ¶ added in v1.7.7
func (c CurrentVideo) Show() string
func (CurrentVideo) Title ¶ added in v1.7.7
func (c CurrentVideo) Title() string
func (CurrentVideo) Year ¶ added in v1.7.7
func (c CurrentVideo) Year() int
type DataSource ¶ added in v1.7.7
type Playback ¶
type Playback struct {
// contains filtered or unexported fields
}
func (Playback) HttpsDash ¶ added in v1.7.7
func (p Playback) HttpsDash() (*DataSource, bool)
func (Playback) RequestHeader ¶ added in v1.7.7
func (Playback) RequestUrl ¶ added in v1.7.7
func (Playback) UnwrapResponse ¶ added in v1.8.9
Click to show internal directories.
Click to hide internal directories.