apple

package
v1.54.9 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: OSL-3.0 Imports: 10 Imported by: 0

README

Apple TV+

Workaround:

packager-win-x64 --enable_raw_key_decryption `
--keys key_id=00000000000000000000000000000000:key=22bdb0063805260307ee5045c0f3835a `
stream=video,in=enc.mp4,output=dec.mp4

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Asset added in v1.54.2

type Asset struct {
	FpsKeyServerQueryParameters Server_Parameters
	FpsKeyServerUrl             string
	HlsUrl                      string
}

type Auth added in v1.54.2

type Auth []*http.Cookie

func Open_Auth added in v1.54.6

func Open_Auth(name string) (Auth, error)

func (Auth) Create added in v1.54.2

func (a Auth) Create(name string) error

type Config added in v1.54.2

type Config struct {
	WebBag struct {
		AppIdKey string
	}
}

func New_Config added in v1.54.6

func New_Config() (*Config, error)

func (Config) Signin added in v1.54.2

func (c Config) Signin(email, password string) (Signin, error)

type Environment added in v1.54.2

type Environment struct {
	Media_API struct {
		Token string // authorization: Bearer eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXV...
	}
}

func New_Environment added in v1.54.5

func New_Environment() (*Environment, error)

type Episode added in v1.54.2

type Episode struct {
	Data struct {
		Playables map[string]struct {
			Assets Asset
		}
	}
}

func New_Episode added in v1.54.6

func New_Episode(content_ID string) (*Episode, error)

func (Episode) Asset added in v1.54.2

func (e Episode) Asset() *Asset

type Poster added in v1.54.8

type Poster struct {
	// contains filtered or unexported fields
}

func (Poster) Request_Body added in v1.54.8

func (p Poster) Request_Body(buf []byte) ([]byte, error)

func (Poster) Request_Header added in v1.54.8

func (p Poster) Request_Header() http.Header

func (Poster) Request_URL added in v1.54.8

func (p Poster) Request_URL() string

func (Poster) Response_Body added in v1.54.8

func (Poster) Response_Body(buf []byte) ([]byte, error)

type Server_Parameters added in v1.54.5

type Server_Parameters struct {
	Adam_ID string `json:"adamId"`
	Svc_ID  string `json:"svcId"`
}

type Signin added in v1.54.2

type Signin []*http.Cookie

func (Signin) Auth added in v1.54.2

func (s Signin) Auth() (Auth, error)

Jump to

Keyboard shortcuts

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