amc

package
v1.8.6 Latest Latest
Warning

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

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

README

AMC+

Take a couple breaths of air.
This is the same air that my family is breathing.
This is the same air that they’re breathing in every part of the planet.
Lets take care of this.

Nightmares on Wax (2018)

TRY 7 DAYS FREE

  1. https://privacy.com
  2. https://amcplus.com/create
  3. EMAIL
  4. PASSWORD
  5. CREATE ACCOUNT
  6. ANNUAL AD-FREE
  7. CONTINUE TO PAYMENT
  8. Name ON CARD
  9. CARD NUMBER
  10. EXPIRATION DATE
  11. CVC
  12. POSTAL CODE
  13. START FREE TRIAL

Android client

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authorization added in v1.7.7

type Authorization struct {
	Data []byte
	V    struct {
		Data struct {
			Access_Token  string
			Refresh_Token string
		}
	}
}

func (Authorization) Content added in v1.7.7

func (a Authorization) Content(path string) (*ContentCompiler, error)

func (*Authorization) Login added in v1.7.7

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

func (Authorization) Playback added in v1.7.7

func (a Authorization) Playback(nid string) (*Playback, error)

func (*Authorization) Refresh added in v1.7.7

func (a *Authorization) Refresh() error

func (*Authorization) Unauth added in v1.7.7

func (a *Authorization) Unauth() error

func (*Authorization) Unmarshal added in v1.7.7

func (a *Authorization) Unmarshal() error

type ContentCompiler added in v1.7.7

type ContentCompiler struct {
	Data struct {
		Children []struct {
			Properties json.RawMessage
			Type       string
		}
	}
}

func (ContentCompiler) Video added in v1.7.7

func (c ContentCompiler) Video() (*CurrentVideo, error)

type CurrentVideo added in v1.7.7

type CurrentVideo struct {
	Meta struct {
		Airdate       string // 1996-01-01T00:00:00.000Z
		EpisodeNumber int
		Season        int `json:",string"`
		ShowTitle     string
	}
	Text struct {
		Title string
	}
}

func (CurrentVideo) Episode added in v1.7.7

func (c CurrentVideo) Episode() int

func (CurrentVideo) Season added in v1.7.7

func (c CurrentVideo) Season() int

func (CurrentVideo) Show added in v1.7.7

func (c CurrentVideo) Show() string

func (CurrentVideo) Title added in v1.7.7

func (c CurrentVideo) Title() string

func (CurrentVideo) Year added in v1.7.7

func (c CurrentVideo) Year() int

type DataSource added in v1.7.7

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

type Playback

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

func (Playback) HttpsDash added in v1.7.7

func (p Playback) HttpsDash() (*DataSource, bool)

func (Playback) RequestBody added in v1.7.7

func (Playback) RequestBody(b []byte) ([]byte, error)

func (Playback) RequestHeader added in v1.7.7

func (p Playback) RequestHeader() (http.Header, error)

func (Playback) RequestUrl added in v1.7.7

func (p Playback) RequestUrl() (string, bool)

func (Playback) ResponseBody added in v1.7.7

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

type WebAddress added in v1.7.7

type WebAddress struct {
	NID  string
	Path string
}

func (*WebAddress) Set added in v1.7.7

func (w *WebAddress) Set(s string) error

func (WebAddress) String added in v1.7.7

func (w WebAddress) String() string

Jump to

Keyboard shortcuts

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