import "41.neocities.org/media/tubi"
type Namer struct { Content *VideoContent }
S01:E03 - Hell Hath No Fury
func (r Resolution) MarshalText() ([]byte, error)
func (r *Resolution) UnmarshalText(text []byte) error
type VideoContent struct { Children []*VideoContent DetailedType string `json:"detailed_type"` EpisodeNumber int `json:"episode_number,string"` Id int `json:",string"` Raw []byte `json:"-"` SeriesId int `json:"series_id,string"` Title string VideoResources []VideoResource `json:"video_resources"` Year int // contains filtered or unexported fields }
func (v *VideoContent) Episode() bool
func (v *VideoContent) Get(id int) (*VideoContent, bool)
func (v *VideoContent) New(id int) error
func (v *VideoContent) Series() bool
func (v *VideoContent) Unmarshal() error
func (v *VideoContent) Video() (*VideoResource, bool)
type VideoResource struct { LicenseServer *struct { Url string } `json:"license_server"` Manifest struct { Url string } Resolution Resolution Type string }
func (VideoResource) RequestHeader() (http.Header, error)
func (v *VideoResource) RequestUrl() (string, bool)
func (VideoResource) UnwrapResponse(b []byte) ([]byte, error)
func (VideoResource) WrapRequest(b []byte) ([]byte, error)