-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvip视频解析2.1.js
142 lines (133 loc) · 4.04 KB
/
vip视频解析2.1.js
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
"ui";
ui.statusBarColor("#ff555555");
ui.layout(
<frame background="#ff555555">
<ScrollView>
<vertical align="top" margin="1">
<webview w="359" h="260" size="6" id="webview" margin="0 0 1 0"/>
<input id="text" w="359" h="0" size="10" bg="#ffffff" margin="0 1 1 0" hint="网页代码区"/>
<linear>
<input id="awz" w="242" h="55" size='8' hint="vip视频网址。" bg="#ffcccccc"/>
<button h="55" w="60" id="azt" text="粘贴" />
<button h="55" w="60" id="aok" text="解析" />
</linear>
<linear>
<button h="55" w="140" id="adk" text="浏览器打开" />
<button h="55" w="120" id="afz" text="复制网址" />
</linear>
<grid id="xz" spanCount="4" h="*">
<text text="{{name}}" bg="#ffcccccc" margin="1 1"/>
</grid>
<text id="url" />
</vertical>
</ScrollView>
</frame>
);
ui.awz.text("http://m.iqiyi.com/v_19rrifgu4t.html?key=20204202d01937a1f6f9491213c8076d&msrc=3_31_56&aid=96678500&tvid=96678500&cid=1&identifier=weixinv1&ftype=27&subtype=1&vip_pc=2&vip_tpc=1&isrd=1&p1=2_22_222&social_platform=link");
ui.aok.click(() => {
threads.start(function() {
ui.run(function() {
ui.webview.loadUrl(jx + ui.awz.text());
});
str = http.get(jx + ui.awz.text()).body.string();
ui.run(function() {
ui.text.text(str);
});
});
});
ui.afz.click(() => {
threads.start(function() {
setClip(jx + ui.awz.text());
});
});
ui.azt.click(() => {
ui.awz.text(getClip());
});
ui.adk.click(() => {
threads.start(function() {
app.openUrl(jx + ui.awz.text());
});
});
ui.xz.on("item_click", function(j, item, itemView, listView) {
for (i = 0; i < apis.length; i++) {
if (i == item) {
apis2[i].name = "●" + apis[i].name;
} else {
apis2[i].name = "○" + apis[i].name;
}
}
ui.xz.setDataSource(apis2);
jx = j.url;
ui.url.text(jx); //toast(item);
});
var apis = [{
name: "金桥解析",
url: "http://jqaaa.com/jx.php?url="
},
{
name: "思古解析",
url: "http://api.bbbbbb.me/jx/v.php?url="
},
{
name: "思古解霸",
url: "http://api.bbbbbb.me/jx/?url="
},
{
name: "百域解析",
url: "http://app.baiyug.cn:2019/vip/?url="
},
{
name: "猫云(xxx)",
url: "https://jx.maoyun.tv/index.php?id="
}, {
name: "搜你妹",
url: "http://www.sonimei.cn/?url="
}, {
name: "噗噗电影",
url: "http://pupudy.com/play?make=url&id="
}, {
name: "酷绘",
url: "http://appapi.svipv.kuuhui.com/svipjx/liulanqichajian/browserplugin/qhjx/qhjx.php?id="
}, {
name: "旋风解析",
url: "http://api.xfsub.com/index.php?url="
}, {
name: "石头解析",
url: "https://jiexi.071811.cc/jx.php?url="
}, {
name: "VIP看看",
url: "http://q.z.vip.totv.72du.com/?url="
}, {
name: "ODFLV",
url: "http://aikan-tv.com/?url="
}, {
name: "163人",
url: "http://jx.api.163ren.com/vod.php?url="
}, {
name: "CKFLV",
url: "http://www.0335haibo.com/tong.php?url="
}, {
name: "无名小站2",
url: "http://www.wmxz.wang/video.php?url="
}, {
name: "眼睛会下雨",
url: "http://www.vipjiexi.com/yun.php?url="
}, {
name: "1008影视",
url: "http://api.1008net.com/v.php?url="
}, {
name: "人人发布",
url: "http://v.renrenfabu.com/jiexi.php?url="
}
];
apis2 = [];
for (i = 0; i < apis.length; i++) {
apis2[i] = {
name: apis[i].name,
url: apis[i].url
};
apis2[i].name = "○" + apis[i].name;
}
ui.xz.setDataSource(apis2);
jx = "http://api.bbbbbb.me/jx/v.php?url=";
//ui.url.text("bbbbbb.v" + ":" + jx);