mirror of
https://github.com/qist/tvbox.git
synced 2025-02-02 10:14:50 +08:00
Add files via upload
This commit is contained in:
parent
cffbfe8518
commit
18d4856656
15
js/酷客影院.js
15
js/酷客影院.js
@ -3,23 +3,22 @@ var rule = {
|
||||
host:'http://www.2kuke.com',
|
||||
// homeUrl:'/',
|
||||
url:'/list/fyclass_fypage.html',
|
||||
//searchUrl:'/vodsearch/**----------fypage---.html',
|
||||
searchable:0,//是否启用全局搜索,
|
||||
quickSearch:0,//是否启用快速搜索,
|
||||
filterable:0,//是否启用分类筛选,
|
||||
searchUrl:'/search.php;**',
|
||||
搜索:'js:let url=input.split(";")[0];let d=[];let body={searchword:input.split(";")[1]};body="searchword="+input.split(";")[1];fetch_params.body=body;let html=post(url,fetch_params);let pdfa=jsp.pdfa;let pdfh=jsp.pdfh;let pd=jsp.pd;let lists=pdfa(html,"ul.stui-vodlist__media&&li");lists.forEach(function(it){d.push({title:pdfh(it,".title&&Text"),url:pd(it,"a&&href"),desc:pdfh(html,".pic-text&&Text"),pic_url:pd(html,".lazyload&&data-original")})});setResult(d);',
|
||||
//搜索:'li.stui-vodlist__item;a&&title;a&&data-original;.pic-text&&Text;a&&href'
|
||||
headers:{//网站的请求头,完整支持所有的,常带ua和cookies
|
||||
'User-Agent':'MOBILE_UA',
|
||||
// "Cookie": "searchneed=ok"
|
||||
},
|
||||
//class_parse:'.stui-header__menu li.hidden-xs;a&&Text;a&&href;/(\\d+)/',
|
||||
class_name:'电影&剧集&综艺&动漫',
|
||||
class_url:'1&2&4&3',
|
||||
class_name:'电影&剧集&综艺&动漫&伦理',
|
||||
class_url:'1&2&4&3&6',
|
||||
play_parse:true,
|
||||
lazy:'',
|
||||
limit:8,
|
||||
推荐:'.stui-vodlist.clearfix;.stui-vodlist__box;a&&title;a&&data-original;.pic-text&&Text;a&&href',
|
||||
double:true, // 推荐内容是否双层定位
|
||||
一级:'.stui-vodlist.clearfix li;a&&title;a&&data-original;.pic-text&&Text;a&&href',
|
||||
二级:{"title":"h1.line1&&Text;.stui-content__detail p:eq(0)&&Text","img":".lazyload&&data-original","desc":";;;.stui-content__detail p:eq(1)&&Text;.stui-content__detail p:eq(2)&&Text","content":".stui-content__detail p:eq(4)&&Text","tabs":".nav.nav-tabs.pull-right&&li","lists":".stui-content__playlist:eq(#id) li"},
|
||||
二级:{"title":"h1.line1&&Text;.stui-content__detail p:eq(0)&&Text","img":".lazyload&&data-original","desc":";;;.stui-content__detail p:eq(1)&&Text;.stui-content__detail p:eq(2)&&Text","content":".stui-content__detail p:eq(5)&&Text","tabs":".nav.nav-tabs.pull-right&&li","lists":".stui-content__playlist:eq(#id) li"},
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user