paramount

package
v1.53.4 Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 License: OSL-3.0 Imports: 11 Imported by: 2

README

Paramount+

Android client

com.cbs.app

Install system certificate.

Bearer

com\cbs\app\dagger\DataLayerModule.java
dataSourceConfiguration.setCbsAppSecret("6c70b33080758409");

com\cbs\app\androiddata\retrofit\util\RetrofitUtil.java
SecretKeySpec secretKeySpec = new SecretKeySpec(b("302a6a0d70a7e9b967f91d39fef3e387816e3095925ae4537bce96063311f9c5"), "AES");

https://github.com/matthuisman/slyguy.addons/issues/136

How to get sid?

https://play.google.com/store/apps/details?id=com.cbs.app

Install user certificate. Start video, and you should see a request like this:

GET /s/dJ5BDC/fNsRH_fjko5T?format=SMIL&Tracking=true&sig=006229620e7f3db019fc0...
X-NewRelic-ID: VQ4FVlJUARABVVRXAwEOVFc=
User-Agent: Dalvik/2.1.0 (Linux; U; Android 7.0; Android SDK built for x86 Bui...
Host: link.theplatform.com
Connection: Keep-Alive
Accept-Encoding: gzip
content-length: 0

How to get aid?

In the response to the same request, you should see something like this:

<param name="trackingData" value="aid=2198311517|b=1000|bc=CBSI-NEW|ci=1|cid=1...

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogLevel format.LogLevel

Functions

This section is empty.

Types

type Media

type Media struct {
	GUID string
	// contains filtered or unexported fields
}

func NewMedia added in v1.49.4

func NewMedia(guid string) Media

func (Media) DASH added in v1.53.4

func (m Media) DASH() (*url.URL, error)

func (Media) HLS added in v1.53.4

func (m Media) HLS() (*url.URL, error)

func (Media) Preview added in v1.53.4

func (m Media) Preview() (*Preview, error)

func (Media) String added in v1.53.4

func (m Media) String() string

type Preview added in v1.53.4

type Preview struct {
	GUID          string
	Title         string
	SeasonNumber  int64  `json:"cbs$SeasonNumber"`
	EpisodeNumber string `json:"cbs$EpisodeNumber"`
}

func (Preview) Base added in v1.53.4

func (p Preview) Base() string

type Session added in v1.53.4

type Session struct {
	URL        string
	LS_Session string
}

func NewSession added in v1.53.4

func NewSession(contentID string) (*Session, error)

func (Session) Header added in v1.53.4

func (s Session) Header() http.Header

Jump to

Keyboard shortcuts

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