mirror of
https://github.com/qist/tvbox.git
synced 2026-11-03 02:03:48 +00:00
update js&fty
This commit is contained in:
1 parent
a2ae0ec72f
commit
81e248c1e3
8 files changed
+177
-99
No files matched your search
+15
-1
@@ -24,7 +24,21 @@ var rule = {
|
||||
"20":[{"key":"by","name":"排序","value":[{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}]
|
||||
},
|
||||
class_parse: '.stui-header__menu li:gt(0):lt(9);a&&Text;a&&href;.*/(.*?).html',
|
||||
lazy:"js:var html=JSON.parse(request(input).match(/r player_.*?=(.*?)</)[1]);log(html);var url=html.url;if(html.encrypt=='1'){url=unescape(url)}else if(html.encrypt=='2'){url=unescape(base64Decode(url))}if(/m3u8|mp4/.test(url)){input=url}else if(/qq|iqiyi/.test(url)){input={jx:0,url:'https://jx.m3u8.tv/jiexi/?url='+url,parse:1,header:JSON.stringify({'user-agent':'Mozilla/5.0'})}}else{input}",
|
||||
lazy:`js:var html=JSON.parse(request(input).match(/r player_.*?=(.*?)</)[1]);
|
||||
log(html);
|
||||
var url=html.url;
|
||||
if(html.encrypt=='1'){
|
||||
url=unescape(url)
|
||||
}else if(html.encrypt=='2'){
|
||||
url=unescape(base64Decode(url))
|
||||
}
|
||||
if(/m3u8|mp4/.test(url)){
|
||||
input=url
|
||||
}else if(/qq|iqiyi/.test(url)){
|
||||
input={jx:0,url:'https://jx.m3u8.tv/jiexi/?url='+url,parse:1,header:JSON.stringify({'user-agent':'Mozilla/5.0'})}
|
||||
}else{
|
||||
input
|
||||
}`,
|
||||
|
||||
// searchUrl:'/search/**----------fypage---.html',
|
||||
searchUrl:'/index.php/ajax/suggest?mid=1&wd=**&pg=fypage',
|
||||
|
||||
Reference in new issue
Block a user