paramount

package
v1.54.6 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: OSL-3.0 Imports: 15 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...
Host: link.theplatform.com
X-NewRelic-ID: VQ4FVlJUARABVVRXAwEOVFc=
User-Agent: Dalvik/2.1.0 (Linux; U; Android 7.0; Android SDK built for x86 Bui...
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...

Why DASH and HLS?

We have FairPlay HLS:

https://vod-gcs-cedexis.cbsaavideo.com/intl_vms/2020/05/07/1735196227871/2367_fp_hls/master.m3u8

and StreamPack HLS:

https://cbsios-vh.akamaihd.net/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2020/05/07/1735196227871/0_0_3436402_ful01_2588_503000.mp4.csmil/master.m3u8

and CENC DASH:

https://vod-gcs-cedexis.cbsaavideo.com/intl_vms/2020/05/07/1735196227871/2367_cenc_dash/stream.mpd

but no StreamPack DASH.

Why does this exist?

June 2 2022

https://paramountplus.com/shows/melrose_place

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Client added in v1.54.3

type Client = widevine.Client

type Media

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

func New_Media added in v1.54.5

func New_Media(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 {
	Episode_Number string `json:"cbs$EpisodeNumber"`
	GUID           string
	Season_Number  int64 `json:"cbs$SeasonNumber"`
	Title          string
}

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 New_Session added in v1.54.5

func New_Session(content_id string) (*Session, error)

func (Session) Content added in v1.54.3

func (s Session) Content(c Client) (*widevine.Content, error)

Jump to

Keyboard shortcuts

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