hboMax

package
v1.10.9 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2026 License: OSL-3.0 Imports: 9 Imported by: 0

README

hbo max

privacy.com

  1. auth.hbomax.com/product
  2. monthly
  3. basic with ads
  4. continue
  5. email
    • mailsac.com
  6. confirm email
  7. password
  8. first name
  9. last name
  10. create account
  11. debit card
  12. name on card
  13. card number
  14. expiration date
  • NEEDS TO BE MMYY
  1. security code
  2. zip code
  3. state
  4. pay now
{
  "errors" : [ {
    "status" : "400",
    "code" : "payment.refused",
    "id" : "a04af317b64acbf60c853a3c3d2fc6c1",
    "detail" : ""
  } ]
}

paypal.com

  1. paypal.com/myaccount/autopay/connect
  2. hbo max
  3. stop paying with paypal
  4. stop paying with paypal (again)
  5. stop paying with paypal (again, again)

bankofamerica.com

{
  "errors" : [ {
    "status" : "400",
    "code" : "payment.refused",
    "id" : "4573ae8d67117b1ea9194dcb673261a4",
    "detail" : ""
  } ]
}

phone

com.wbd.stream

https://apkmirror.com/apk/warnermedia-direct-llc/hbo-max-stream-movies-tv

needs to be at least Android 7. install system certificate

tv

com.wbd.stream

https://apkmirror.com/apk/warnermedia-direct-llc/hbo-max-stream-movies-tv-android-tv

create Android 9 device. install system certificate. we need a movie for testing.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Markets = []string{
	"amer",
	"apac",
	"emea",
	"latam",
}

Functions

This section is empty.

Types

type Dash

type Dash struct {
	Body []byte
	Url  *url.URL
}

type Error

type Error struct {
	Detail  string // show was filtered by validator
	Message string // Token is missing or not valid
}

func (*Error) Error

func (e *Error) Error() string

type Initiate

type Initiate struct {
	LinkingCode string
	TargetUrl   string
}

func (*Initiate) String

func (i *Initiate) String() string

type Login

type Login struct {
	Data struct {
		Attributes struct {
			Token string
		}
	}
}

func (Login) Movie

func (l Login) Movie(show *ShowKey) (*Videos, error)

func (*Login) PlayReady

func (l *Login) PlayReady(editId string) (*Playback, error)

func (Login) Season

func (l Login) Season(show *ShowKey, number int) (*Videos, error)

func (*Login) Widevine

func (l *Login) Widevine(editId string) (*Playback, error)

type Playback

type Playback struct {
	Drm struct {
		Schemes struct {
			PlayReady *Scheme
			Widevine  *Scheme
		}
	}
	Errors   []Error
	Fallback struct {
		Manifest struct {
			Url string // _fallback.mpd:1080p, .mpd:4K
		}
	}
	Manifest struct {
		Url string // 1080p
	}
}

func (*Playback) Dash

func (p *Playback) Dash() (*Dash, error)

func (*Playback) PlayReady

func (p *Playback) PlayReady(data []byte) ([]byte, error)

func (*Playback) Widevine

func (p *Playback) Widevine(data []byte) ([]byte, error)

type Scheme

type Scheme struct {
	LicenseUrl string
}

type ShowKey

type ShowKey struct {
	Type string
	Id   string
}

func (*ShowKey) Parse

func (s *ShowKey) Parse(rawUrl string) error

type St

type St struct {
	Cookie *http.Cookie
}

func (*St) Fetch

func (s *St) Fetch() error

func (St) Initiate

func (s St) Initiate(market string) (*Initiate, error)

func (St) Login

func (s St) Login() (*Login, error)

you must /authentication/linkDevice/initiate first or this will always fail

type Video

type Video struct {
	Attributes *struct {
		SeasonNumber  int
		EpisodeNumber int
		Name          string
		VideoType     string
	}
	Relationships *struct {
		Edit *struct {
			Data struct {
				Id string
			}
		}
	}
}

func (*Video) String

func (v *Video) String() string

type Videos

type Videos struct {
	Errors   []Error
	Included []*Video
}

func (*Videos) FilterAndSort

func (v *Videos) FilterAndSort()

Jump to

Keyboard shortcuts

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