Skip to content

Commit d3458b1

Browse files
committed
new file: paramount/try.md
1 parent 3e3e17b commit d3458b1

File tree

4 files changed

+111
-117
lines changed

4 files changed

+111
-117
lines changed

paramount/apps.md

Lines changed: 0 additions & 64 deletions
This file was deleted.

paramount/paramount.go

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,41 @@ import (
1515
"strings"
1616
)
1717

18+
func (a At) Session(content_id string) (*Session, error) {
19+
req, _ := http.NewRequest("", "https://www.paramountplus.com", nil)
20+
req.URL.Path = func() string {
21+
var b strings.Builder
22+
b.WriteString("/apps-api/v3.1/androidphone/irdeto-control")
23+
b.WriteString("/anonymous-session-token.json")
24+
return b.String()
25+
}()
26+
req.URL.RawQuery = url.Values{
27+
"at": {string(a)},
28+
"contentId": {content_id},
29+
}.Encode()
30+
resp, err := http.DefaultClient.Do(req)
31+
if err != nil {
32+
return nil, err
33+
}
34+
if resp.StatusCode != http.StatusOK {
35+
var b strings.Builder
36+
resp.Write(&b)
37+
return nil, errors.New(b.String())
38+
}
39+
defer resp.Body.Close()
40+
session1 := &Session{}
41+
err = json.NewDecoder(resp.Body).Decode(session1)
42+
if err != nil {
43+
return nil, err
44+
}
45+
return session1, nil
46+
}
47+
48+
type Session struct {
49+
LsSession string `json:"ls_session"`
50+
Url string
51+
}
52+
1853
func (a At) Item(cid string) (*Item, error) {
1954
req, _ := http.NewRequest("", "https://www.paramountplus.com", nil)
2055
req.URL.Path = func() string {
@@ -133,11 +168,6 @@ func cms_account(id string) int64 {
133168
return int64(i)
134169
}
135170

136-
type Session struct {
137-
LsSession string `json:"ls_session"`
138-
Url string
139-
}
140-
141171
type At string
142172

143173
func (a AppSecret) At() (At, error) {
@@ -159,33 +189,3 @@ func (a AppSecret) At() (At, error) {
159189
data1 = append(data1, data...)
160190
return At(base64.StdEncoding.EncodeToString(data1)), nil
161191
}
162-
163-
func (a At) Session(content_id string) (*Session, error) {
164-
req, _ := http.NewRequest("", "https://www.paramountplus.com", nil)
165-
req.URL.Path = func() string {
166-
var b strings.Builder
167-
b.WriteString("/apps-api/v3.1/androidphone/irdeto-control")
168-
b.WriteString("/anonymous-session-token.json")
169-
return b.String()
170-
}()
171-
req.URL.RawQuery = url.Values{
172-
"at": {string(a)},
173-
"contentId": {content_id},
174-
}.Encode()
175-
resp, err := http.DefaultClient.Do(req)
176-
if err != nil {
177-
return nil, err
178-
}
179-
if resp.StatusCode != http.StatusOK {
180-
var b strings.Builder
181-
resp.Write(&b)
182-
return nil, errors.New(b.String())
183-
}
184-
defer resp.Body.Close()
185-
session1 := &Session{}
186-
err = json.NewDecoder(resp.Body).Decode(session1)
187-
if err != nil {
188-
return nil, err
189-
}
190-
return session1, nil
191-
}

paramount/readme.md

Lines changed: 65 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,5 @@
11
# Paramount+
22

3-
<blockquote>
4-
<img height=400
5-
src="https://static1.cbrimages.com/wordpress/wp-content/uploads/2020/01/Dr.-Manhattan-Featured-Image.jpg"
6-
/>
7-
</blockquote>
8-
9-
## try paramount+
10-
11-
1. paramountplus.com
12-
2. try it free
13-
3. continue
14-
4. make sure monthly is selected, then under essential click select plan
15-
5. if you see a bundle screen, click maybe later
16-
6. continue
17-
7. uncheck yes, i would like to receive marketing
18-
8. continue
19-
9. start paramount+
20-
213
## How to get secret\_key?
224

235
~~~
@@ -50,3 +32,68 @@ https://www.intl.paramountplus.com/apps-api/v2.0/androidtv/video/cid/Y8sKvb2bIoe
5032
https://www.intl.paramountplus.com/apps-api/v3.0/androidtv/movies/Y8sKvb2bIoeX4XZbsfjadF4GhNPwcjTQ.json?includeTrailerInfo=true&includeContentInfo=true&locale=en-us&at=ABDSbrWqqlbSWOrrXk8u9NaNdokPC88YiXcPvIFhPobM3a%2FJWNOSwiCMklwJDDJq4c0%3D
5133

5234
<https://www.intl.paramountplus.com/apps-api/v3.1/androidtv/irdeto-control/session-token.json?contentId=Y8sKvb2bIoeX4XZbsfjadF4GhNPwcjTQ&model=sdk_google_atv_x86&firmwareVersion=9&version=15.0.28&platform=PPINTL_AndroidTV&locale=en-us&at=ABBoPFHuygkRnnCKELRhypuq5uEAJvSiVATsY9xOASH88ibse11WuoLrFnSDf0Bv7EY%3D>
35+
36+
## apps
37+
38+
create Android 6 device. install user certificate. start video. after the
39+
commercial you might get an error, try again.
40+
41+
## paramount phone us
42+
43+
- https://apkmirror.com/apk/cbs-interactive-inc/paramount
44+
- https://play.google.com/store/apps/details?id=com.cbs.app
45+
46+
15.0.52:
47+
48+
~~~
49+
sources\com\cbs\app\dagger\DataLayerModule.java
50+
dataSourceConfiguration.setCbsAppSecret("4fb47ec1f5c17caa");
51+
52+
sources\com\cbs\app\dagger\SharedComponentModule.java
53+
return new ci.a("{\"amazon_tablet\":\"c4abf90e3aa8131f\",\"amazon_mobile\":\"c1353af7ed0252d8\",\"google_mobile\":\"8c4edb1155a410e4\"}");
54+
~~~
55+
56+
15.0.50:
57+
58+
~~~
59+
sources\com\cbs\app\dagger\DataLayerModule.java
60+
dataSourceConfiguration.setCbsAppSecret("cdaf0c8e254c4424");
61+
62+
sources\com\cbs\app\dagger\SharedComponentModule.java
63+
return new di.a("{\"amazon_tablet\":\"c4abf90e3aa8131f\",\"amazon_mobile\":\"c1353af7ed0252d8\",\"google_mobile\":\"8c4edb1155a410e4\"}");
64+
~~~
65+
66+
## paramount tv intl
67+
68+
- https://apkmirror.com/apk/viacomcbs-streaming/paramount-android-tv
69+
- https://play.google.com/store/apps/details?id=com.cbs.ca
70+
71+
15.0.52:
72+
73+
~~~
74+
sources\com\cbs\app\BuildConfig.java
75+
put("swisscom", "6d5824edfa1e56d6");
76+
put("timvision", "893b6cb2e9112879");
77+
put("vodafone", "ace4afb584a31528");
78+
79+
sources\com\cbs\app\config\DefaultAppSecretProvider.java
80+
return "e55edaeb8451f737";
81+
82+
sources\com\cbs\app\config\SetTopBoxAppSecretProvider.java
83+
return "e55edaeb8451f737";
84+
~~~
85+
86+
15.0.50:
87+
88+
~~~
89+
sources\com\cbs\app\BuildConfig.java
90+
put("swisscom", "2751aeb7d5379e3b");
91+
put("timvision", "fc27c8f1cfda2b25");
92+
put("vodafone", "ae7c0cbda94ff4d5");
93+
94+
sources\com\cbs\app\config\DefaultAppSecretProvider.java
95+
return "0f56dbac9fee3a93";
96+
97+
sources\com\cbs\app\config\SetTopBoxAppSecretProvider.java
98+
return "0f56dbac9fee3a93";
99+
~~~

paramount/try.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# try paramount+
2+
3+
1. paramountplus.com
4+
2. try it free
5+
3. continue
6+
4. make sure monthly is selected, then under essential click select plan
7+
5. if you see a bundle screen, click maybe later
8+
6. continue
9+
7. uncheck yes, i would like to receive marketing
10+
8. continue
11+
9. start paramount+

0 commit comments

Comments
 (0)