cbc

package
v1.54.4 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2022 License: OSL-3.0 Imports: 9 Imported by: 2

README

CBC

Android client

https://play.google.com/store/apps/details?id=ca.cbc.android.cbctv

Install system certificate.

How to create account?

Use Android client

How to get X-Forwarded-For?

Based on this:

https://github.com/firehol/blocklist-ipsets/blob/master/geolite2_country/country_ca.netset

The largest Canada block is:

99.224.0.0/11

How to get apiKey?

sources\vd\g.java
private static final String loginRadiusProdKey =
"3f4beddd-2061-49b0-ae80-6f1f2ed65b37";

https://github.com/skylot/jadx

Why does this exist?

June 2 2022

https://gem.cbc.ca/media/downton-abbey/s01e05

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogLevel format.LogLevel

Functions

func GetID added in v1.52.4

func GetID(input string) string

gem.cbc.ca/media/downton-abbey/s01e05

Types

type Asset

type Asset struct {
	AppleContentID string
	Series         string
	Title          string
	AirDate        int64
	Duration       int64
	PlaySession    struct {
		URL string
	}
}

func NewAsset

func NewAsset(id string) (*Asset, error)

func (Asset) Format added in v1.52.4

func (a Asset) Format(f fmt.State, verb rune)

func (Asset) GetDuration added in v1.52.4

func (a Asset) GetDuration() time.Duration

func (Asset) GetTime added in v1.52.4

func (a Asset) GetTime() time.Time

type Login

type Login struct {
	Access_Token string
	Expires_In   string
}

func NewLogin

func NewLogin(email, password string) (*Login, error)

func (Login) WebToken

func (l Login) WebToken() (*WebToken, error)

type Media

type Media struct {
	Message string
	URL     string
}

type OverTheTop

type OverTheTop struct {
	AccessToken string
}

func (OverTheTop) Profile

func (o OverTheTop) Profile() (*Profile, error)

type Profile

type Profile struct {
	Tier        string
	ClaimsToken string
}

func OpenProfile added in v1.52.4

func OpenProfile(name string) (*Profile, error)

func (Profile) Create added in v1.52.4

func (p Profile) Create(name string) error

func (Profile) Media

func (p Profile) Media(asset *Asset) (*Media, error)

type WebToken

type WebToken struct {
	Signature string
}

func (WebToken) OverTheTop

func (w WebToken) OverTheTop() (*OverTheTop, error)

Jump to

Keyboard shortcuts

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