30 lines
1.2 KiB
JavaScript
30 lines
1.2 KiB
JavaScript
|
var rule = {
|
||
|
title:'88看球',
|
||
|
// host:'http://www.88kanqiu.cc',
|
||
|
host:'http://www.88kanqiu.win',
|
||
|
url:'/match/fyclass/live',
|
||
|
searchUrl:'',
|
||
|
searchable:0,
|
||
|
quickSearch:0,
|
||
|
class_parse:'.nav-pills li;a&&Text;a&&href;/match/(\\d+)/live',
|
||
|
headers:{
|
||
|
'User-Agent':'PC_UA'
|
||
|
},
|
||
|
timeout:5000,
|
||
|
play_parse:true,
|
||
|
lazy:'',
|
||
|
limit:6,
|
||
|
double:false,
|
||
|
推荐:'*',
|
||
|
一级:'.list-group .group-game-item;.d-none&&Text;img&&src;.btn&&Text;a&&href',
|
||
|
二级:{
|
||
|
"title":".game-info-container&&Text;.customer-navbar-nav li&&Text",
|
||
|
"img":"img&&src",
|
||
|
"desc":";;;div.team-name:eq(0)&&Text;div.team-name:eq(1)&&Text",
|
||
|
"content":"div.game-time&&Text",
|
||
|
"tabs":"js:TABS=['实时直播']",
|
||
|
// "lists":"js:LISTS=[];input=input+'-url';let html=request(input);let data=JSON.parse(html);TABS.forEach(function(tab){let m3u=data;let d=m3u.map(function(it){return it.name+'$'+play_url+it.url});LISTS.push(d)});"
|
||
|
"lists":"js:LISTS=[];input=input+'-url';let html=request(input);let data=JSON.parse(html);TABS.forEach(function(tab){let m3u=data;let d=m3u.map(function(it){return it.name+'$'+it.url});LISTS.push(d)});"
|
||
|
},
|
||
|
搜索:'',
|
||
|
}
|