amc

package
v1.53.7 Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: OSL-3.0 Imports: 6 Imported by: 2

README

AMC

https://amcplus.com/shows/orphan-black/episodes/season-1-instinct--1011152

BBC America

https://github.com/89z/mech/tree/881e0b5d719ba282701b2b09378f928ef24aac50

Android client

https://play.google.com/store/apps/details?id=com.amcplus.amcfullepisodes

com.amcplus.amcfullepisodes

TRY 7 DAYS FREE

MONTHLY

Cancel anytime

SETTINGS

Subscription

CANCEL

NO THANKS, CANCEL AMC+

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogLevel format.LogLevel

Functions

This section is empty.

Types

type Auth

type Auth struct {
	Data struct {
		Access_Token  string
		Refresh_Token string
	}
}

func OpenAuth

func OpenAuth(elem ...string) (*Auth, error)

func Unauth

func Unauth() (*Auth, error)

func (Auth) Create

func (a Auth) Create(elem ...string) error

func (*Auth) Login

func (a *Auth) Login(email, password string) error

func (Auth) Playback

func (a Auth) Playback(nid int64) (*Playback, error)

func (*Auth) Refresh

func (a *Auth) Refresh() error

type Playback

type Playback struct {
	BcJWT string
	Body  struct {
		Data struct {
			PlaybackJsonData struct {
				Name    string
				Sources []Source
			}
		}
	}
}

func (Playback) DASH

func (p Playback) DASH() *Source

func (Playback) Header

func (p Playback) Header() http.Header

type Source

type Source struct {
	Key_Systems struct {
		Widevine struct {
			License_URL string
		} `json:"com.widevine.alpha"`
	}
	Src  string
	Type string
}

Jump to

Keyboard shortcuts

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