stan

package
v1.8.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: OSL-3.0 Imports: 7 Imported by: 0

README

stan

> play -a au.com.stan.and -s
downloads = 11.17 million
files = APK
name = Stan.
offered by = Stan Entertainment Pty Ltd
price = 0 USD
requires = 5.0 and up
size = 26.92 megabyte (26915531)
updated on = Feb 5, 2024
version code = 50929
version name = 4.31.1

Create Android 6 device. Install user certificate.

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

type ActivationCode struct {
	Data []byte
	V    struct {
		Code string
		URL  string
	}
}

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
}

func (Namer) Episode added in v1.8.3

func (n Namer) Episode() int

func (Namer) Season added in v1.8.3

func (n Namer) Season() int

func (Namer) Show added in v1.8.3

func (n Namer) Show() string

func (Namer) Title added in v1.8.3

func (n Namer) Title() string

func (Namer) Year added in v1.8.3

func (n Namer) Year() int

type ProgramStream

type ProgramStream struct {
	Media struct {
		DRM *struct {
			CustomData string
			KeyId      string
		}
		VideoUrl string
	}
}

func (ProgramStream) BaseUrl added in v1.8.3

func (p ProgramStream) BaseUrl(host string) (*url.URL, error)

func (ProgramStream) RequestBody

func (ProgramStream) RequestBody(b []byte) ([]byte, 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) ResponseBody

func (ProgramStream) ResponseBody(b []byte) ([]byte, error)

type WebToken

type WebToken struct {
	Data []byte
	V    struct {
		JwToken   string
		ProfileId string
	}
}

func (WebToken) Session

func (w WebToken) Session() (*AppSession, error)

func (*WebToken) Unmarshal

func (w *WebToken) Unmarshal() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL