2022-10-13 22:42:09 +08:00
|
|
|
var rule = {
|
|
|
|
title:'乐猪TV',
|
|
|
|
host:'http://www.lezhutv.com',
|
|
|
|
// homeUrl:'/',
|
|
|
|
url:'/type/fyclass-fypage.html',
|
2022-11-28 18:37:44 +08:00
|
|
|
// searchUrl:'/search-pg-fypage-wd-**.html',
|
|
|
|
searchUrl:'/index.php?m=vod-search#wd=**&search=;post',
|
2022-10-21 15:49:00 +08:00
|
|
|
searchable:2,
|
2022-10-13 22:42:09 +08:00
|
|
|
quickSearch:0,
|
|
|
|
headers:{
|
2022-11-28 18:37:44 +08:00
|
|
|
// 'User-Agent':'UC_UA'
|
2022-12-06 17:23:57 +08:00
|
|
|
'User-Agent':'MOBILE_UA',
|
|
|
|
// 'Cookie':'test',
|
2022-10-13 22:42:09 +08:00
|
|
|
},
|
|
|
|
timeout:5000,
|
|
|
|
class_parse:'div.nav a;a&&Text;a&&href;/(\\d.+).html',
|
|
|
|
play_parse:true,
|
|
|
|
lazy:'',
|
|
|
|
limit:5,
|
2022-11-27 18:36:06 +08:00
|
|
|
推荐:'.tbox2;*;*;*;*;*',
|
2022-10-13 22:42:09 +08:00
|
|
|
double:true, // 推荐内容是否双层定位
|
|
|
|
一级:'ul.tbox_m2 li;a&&title;a&&data-original;span&&Text;a&&href',
|
2022-11-28 18:37:44 +08:00
|
|
|
二级:{"title":".data h4--i&&Text;.yac&&Text","img":".item-lazy&&data-original","desc":";;;.act&&Text;.dir&&Text","content":".tbox_js&&Text","tabs":"js:pdfa=jsp.pdfa;TABS=pdfa(html,'.tbox_t h3').map(function(it,idex){return '线路'+(idex+1)})","lists":"ul.list_block:eq(#id) li","tabs":".tbox_t h3"},
|
2022-10-21 15:49:00 +08:00
|
|
|
搜索:'ul.tbox_m li;*;*;*;*',
|
2022-10-13 22:42:09 +08:00
|
|
|
|
2022-11-28 18:37:44 +08:00
|
|
|
}
|