Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Content ¶
type Content struct { Children []*Content Detailed_Type string Episode_Number int `json:",string"` ID int `json:",string"` Series_ID int `json:",string"` Title string Video_Resources []VideoResource Year int // contains filtered or unexported fields }
func (Content) Video ¶
func (c Content) Video() (*VideoResource, error)
type Resolution ¶
type Resolution int
func (*Resolution) UnmarshalText ¶
func (r *Resolution) UnmarshalText(text []byte) error
type VideoResource ¶
type VideoResource struct { License_Server *struct { URL string } Manifest struct { URL string } Resolution Resolution Type string }
func (VideoResource) RequestBody ¶
func (VideoResource) RequestBody(b []byte) ([]byte, error)
func (VideoResource) RequestHeader ¶
func (VideoResource) RequestHeader() (http.Header, error)
func (VideoResource) RequestUrl ¶
func (v VideoResource) RequestUrl() (string, bool)
func (VideoResource) ResponseBody ¶
func (VideoResource) ResponseBody(b []byte) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.