abc

package
v1.53.6 Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: OSL-3.0 Imports: 9 Imported by: 0

README

ABC

Android client

com.disney.datg.videoplatforms.android.abc

Install system certificate.

adb shell am start -a android.intent.action.VIEW `
-d https://abc.com/shows/greys-anatomy/episode-guide/season-18/12-the-makings-of-you

Authorize

This URL:

http://api.entitlement.watchabc.go.com/vp2/ws-secure/entitlement/2020/authorize.json

Comes from here:

https://api.config.watchabc.go.com/appsconfig/prod/abcv3/031_04/10.23.0/config.json

Documentation

Index

Constants

View Source
const (
	MaxAppVersion = "99.99.9"
	MaxDevice     = "033_05"
	MinAppVersion = "10.12.0"
	MinDevice     = "031_01"
)

Variables

View Source
var LogLevel format.LogLevel

Functions

This section is empty.

Types

type Route

type Route struct {
	Modules []struct {
		Resource string
	}
}

func NewRoute

func NewRoute(addr string) (*Route, error)

func (Route) Video

func (r Route) Video() (*Video, error)

type Video

type Video struct {
	ID   string
	Show struct {
		Title string
	}
	Title         string
	SeasonNumber  string
	EpisodeNumber string
	Airtime       string
	Duration      int64
	Assets        []struct {
		Format string
		Value  string
	}
}

func (*Video) Authorize

func (v *Video) Authorize() error

func (Video) Base

func (v Video) Base() string

func (Video) Format

func (v Video) Format(f fmt.State, verb rune)

func (Video) GetDuration added in v1.52.4

func (v Video) GetDuration() time.Duration

func (Video) ULNK

func (v Video) ULNK() string

Jump to

Keyboard shortcuts

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