Package tubi
(v1.10.9)
[up]
[repository]
Index
Types
type Content
type Content struct {
Children []*Content
DetailedType string `json:"detailed_type"`
Id int `json:",string"`
SeriesId int `json:"series_id,string"`
VideoResources []VideoResource `json:"video_resources"`
}
Methods
func (c *Content) Fetch(id int) error
type Dash
type Dash struct {
Body []byte
Url *url.URL
}
type VideoResource
type VideoResource struct {
LicenseServer *struct {
Url string
} `json:"license_server"`
Manifest struct {
Url string
}
Type string
}
Methods
func (v *VideoResource) Dash() (*Dash, error)
func (v *VideoResource) Widevine(data []byte) ([]byte, error)