amc

package
v1.53.8 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 License: OSL-3.0 Imports: 7 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

Overview

github.com/89z

github.com/89z

Index

Constants

This section is empty.

Variables

View Source
var LogLevel format.LogLevel

Functions

func GetNID added in v1.53.8

func GetNID(addr string) (int64, error)

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 {
	PlaybackJsonData PlaybackJsonData
	BcJWT            string
}

func (Playback) Base added in v1.53.8

func (p Playback) Base() string

func (Playback) DASH

func (p Playback) DASH() *Source

func (Playback) Header

func (p Playback) Header() http.Header

type PlaybackJsonData added in v1.53.8

type PlaybackJsonData struct {
	Sources       []Source
	Custom_Fields struct {
		Show    string // 1
		Season  string // 2
		Episode string // 3
	}
	Name string // 4
}

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