Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BaseUrl = []string{
"023-stan.akamaized.net",
"666-stan.akamaized.net",
"aws.stan.video",
"gec.stan.video",
}
Functions ¶
This section is empty.
Types ¶
type ActivationCode ¶
func (*ActivationCode) New ¶
func (a *ActivationCode) New() error
func (ActivationCode) String ¶
func (a ActivationCode) String() string
func (ActivationCode) Token ¶
func (a ActivationCode) Token() (*WebToken, error)
func (*ActivationCode) Unmarshal ¶
func (a *ActivationCode) Unmarshal() error
type AppSession ¶
type AppSession struct {
JwToken string
}
func (AppSession) Stream ¶
func (a AppSession) Stream(id int64) (*ProgramStream, error)
type LegacyProgram ¶
type LegacyProgram struct { ReleaseYear int SeriesTitle string Title string TvSeasonEpisodeNumber int TvSeasonNumber int }
func (*LegacyProgram) New ¶
func (p *LegacyProgram) New(id int64) error
type Namer ¶ added in v1.8.3
type Namer struct {
P LegacyProgram
}
type ProgramStream ¶
type ProgramStream struct { Media struct { DRM *struct { CustomData string KeyId string } VideoUrl string } }
func (ProgramStream) BaseUrl ¶ added in v1.8.2
func (p ProgramStream) BaseUrl(host string) (*url.URL, error)
func (ProgramStream) RequestHeader ¶
func (p ProgramStream) RequestHeader() (http.Header, error)
func (ProgramStream) RequestUrl ¶
func (ProgramStream) RequestUrl() (string, bool)
final slash is needed
func (ProgramStream) UnwrapResponse ¶ added in v1.8.9
func (ProgramStream) UnwrapResponse(b []byte) ([]byte, error)
func (ProgramStream) WrapRequest ¶ added in v1.8.9
func (ProgramStream) WrapRequest(b []byte) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.