package rakuten
import "41.neocities.org/media/rakuten"
Index
Types
type Address
type Address struct { ClassificationId int ContentId string MarketCode string }
func (*Address) Fhd
func (a *Address) Fhd() *OnDemand
func (*Address) Hd
func (a *Address) Hd() *OnDemand
func (*Address) Movie
func (a *Address) Movie() (*GizmoMovie, error)
func (*Address) Set
func (a *Address) Set(s string) error
func (*Address) String
func (a *Address) String() string
type GizmoMovie
type GizmoMovie struct { Data struct { Title string Year int } }
func (GizmoMovie) Episode
func (GizmoMovie) Episode() int
func (GizmoMovie) Season
func (GizmoMovie) Season() int
func (GizmoMovie) Show
func (GizmoMovie) Show() string
func (*GizmoMovie) Title
func (g *GizmoMovie) Title() string
func (*GizmoMovie) Year
func (g *GizmoMovie) Year() int
type OnDemand
type OnDemand struct { AudioLanguage string `json:"audio_language"` AudioQuality string `json:"audio_quality"` ClassificationId int `json:"classification_id"` ContentId string `json:"content_id"` ContentType string `json:"content_type"` DeviceIdentifier string `json:"device_identifier"` DeviceSerial string `json:"device_serial"` DeviceStreamVideoQuality string `json:"device_stream_video_quality"` Player string `json:"player"` SubtitleLanguage string `json:"subtitle_language"` VideoType string `json:"video_type"` }
func (*OnDemand) Info
func (o *OnDemand) Info() (*StreamInfo, error)
geo block
type StreamInfo
type StreamInfo struct { LicenseUrl string `json:"license_url"` Url string VideoQuality string `json:"video_quality"` }
func (StreamInfo) RequestHeader
func (StreamInfo) RequestHeader() (http.Header, error)
github.com/mitmproxy/mitmproxy/blob/main/mitmproxy/contentviews/protobuf.py
func (*StreamInfo) RequestUrl
func (s *StreamInfo) RequestUrl() (string, bool)
func (StreamInfo) UnwrapResponse
func (StreamInfo) UnwrapResponse(b []byte) ([]byte, error)
func (StreamInfo) WrapRequest
func (StreamInfo) WrapRequest(b []byte) ([]byte, error)