cbc

package
v1.54.7 Latest Latest
Warning

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

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

Functions

func Get_ID added in v1.54.5

func Get_ID(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 New_Asset added in v1.54.5

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

func (Asset) Get_Duration added in v1.54.5

func (a Asset) Get_Duration() time.Duration

func (Asset) Get_Time added in v1.54.5

func (a Asset) Get_Time() time.Time

func (Asset) String added in v1.54.7

func (a Asset) String() string

type Login

type Login struct {
	Access_Token string
	Expires_In   string
}

func New_Login added in v1.54.5

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

func (Login) Web_Token added in v1.54.5

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

type Media

type Media struct {
	Message string
	URL     string
}

type Over_The_Top added in v1.54.5

type Over_The_Top struct {
	AccessToken string
}

func (Over_The_Top) Profile added in v1.54.5

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

type Profile

type Profile struct {
	Tier        string
	ClaimsToken string
}

func Open_Profile added in v1.54.5

func Open_Profile(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 Web_Token added in v1.54.5

type Web_Token struct {
	Signature string
}

func (Web_Token) Over_The_Top added in v1.54.5

func (w Web_Token) Over_The_Top() (*Over_The_Top, error)

Jump to

Keyboard shortcuts

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