paramount

package
v1.52.8 Latest Latest
Warning

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

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

README

Paramount+

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

func GUID

func GUID(addr string) string

Types

type Media

type Media struct {
	Body struct {
		Seq struct {
			Video []Video `xml:"video"`
		} `xml:"seq"`
	} `xml:"body"`
}

func NewMedia added in v1.49.4

func NewMedia(guid string) (*Media, error)

func (Media) Video added in v1.50.5

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

type Video added in v1.50.5

type Video struct {
	Title string `xml:"title,attr"`
	Src   string `xml:"src,attr"`
	Param []struct {
		Name  string `xml:"name,attr"`
		Value string `xml:"value,attr"`
	} `xml:"param"`
}

func (Video) Base added in v1.50.5

func (v Video) Base() string

func (Video) EpisodeNumber added in v1.50.5

func (v Video) EpisodeNumber() string

func (Video) SeasonNumber added in v1.50.5

func (v Video) SeasonNumber() string

Jump to

Keyboard shortcuts

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