-
Notifications
You must be signed in to change notification settings - Fork 7
/
runner.java
69 lines (41 loc) · 1.45 KB
/
runner.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/*
Use it only for personal use. Mail to the address below for support, if necessary.
Contributed by: [email protected]
*/
package token;
import token.aos;
/*
Taken from JioTV p000.aos
*/
import java.io.*;
import java.net.*;
public class runner{
public static void main(String args[])
{
aos s=new aos();
String aa="AQIC5wM2LY4Sfcw41MgI8_pcrWhihKiBPYyAhCtMTN5pN0s.*AAJTSQACMDIAAlNLABQtMzAzMzcxMTIyNjc5Mjc3ODA1MAACUzEAAjAz*";
String bb="";
try {
URL url = new URL("https://tv.media.jio.com/apis/v1.3/beginsession/begin?langId=6");
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
conn.setDoOutput(true);
conn.setRequestMethod("GET");
conn.setRequestProperty("Content-Type", "application/json");
BufferedReader br = new BufferedReader(new InputStreamReader(
(conn.getInputStream())));
while ((output = br.readLine()) != null) {
output=output.substring(output.indexOf("tid\":")+6);
bb=output.substring(0,output.length()-3);
//System.out.println(bb);
}
conn.disconnect();
} catch (Exception e) {
e.printStackTrace();
}
s.m13418c(aa);
s.m13419d(bb);
s.mo1746a(3600);
String uurl=s.mo1745a("http://smumcdnems01.cdnsrv.jio.com/jiotv.live.cdn.jio.com/" + args[0] + "/" + args[0] + "_400.m3u8");
System.out.println(uurl.split("m3u8")[1].toString());
}
}