Documentation
¶
Index ¶
- Variables
- func Widevine(header http.Header, sourceVar *Source, data []byte) ([]byte, error)
- type Client
- func (c *Client) Login(email, password string) (ClientData, error)
- func (c *Client) Playback(id int64) (http.Header, []Source, error)
- func (c *Client) Refresh() (ClientData, error)
- func (c *Client) SeasonEpisodes(id int64) (*Node, error)
- func (c *Client) SeriesDetail(id int64) (*Node, error)
- func (c *Client) Unauth() error
- func (c *Client) Unmarshal(data ClientData) error
- type ClientData
- type Metadata
- type Node
- type Source
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Client ¶ added in v1.10.6
type Client struct {
Data struct {
AccessToken string `json:"access_token"`
RefreshToken string `json:"refresh_token"`
}
}
func (*Client) Login ¶ added in v1.10.6
func (c *Client) Login(email, password string) (ClientData, error)
func (*Client) Refresh ¶ added in v1.10.6
func (c *Client) Refresh() (ClientData, error)
func (*Client) SeasonEpisodes ¶ added in v1.10.6
func (*Client) SeriesDetail ¶ added in v1.10.6
func (*Client) Unmarshal ¶ added in v1.10.6
func (c *Client) Unmarshal(data ClientData) error
type ClientData ¶ added in v1.10.6
type ClientData []byte
type Node ¶ added in v1.10.6
type Node struct {
Type string `json:"type"`
Children []*Node `json:"children,omitempty"`
Properties struct {
ManifestType string `json:"manifestType,omitempty"`
Text *struct {
Title struct {
Title string `json:"title"`
} `json:"title"`
} `json:"text,omitempty"`
Metadata *Metadata `json:"metadata,omitempty"`
} `json:"properties"`
}
func (*Node) ExtractEpisodes ¶ added in v1.10.6
func (*Node) ExtractSeasons ¶ added in v1.10.6
Click to show internal directories.
Click to hide internal directories.