乐猪TV.js 2.0 KB

12345678910111213141516171819202122232425262728293031
  1. var rule = {
  2. title:'乐猪TV',
  3. host:'http://www.lezhutv.com',
  4. // homeUrl:'/',
  5. url:'/list/fyclassfyfilter.html',
  6. filterable:1,//是否启用分类筛选,
  7. filter_url:'_fypage_desc_{{fl.by}}_0_0___',
  8. filter: {"1":[{"key":"by","name":"排序","value":[{"n":"全部","v":"time"},{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}],"2":[{"key":"by","name":"排序","value":[{"n":"全部","v":"time"},{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}],"4":[{"key":"by","name":"排序","value":[{"n":"全部","v":"time"},{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}],"3":[{"key":"by","name":"排序","value":[{"n":"全部","v":"time"},{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}],"14":[{"key":"by","name":"排序","value":[{"n":"全部","v":"time"},{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}],"15":[{"key":"by","name":"排序","value":[{"n":"全部","v":"time"},{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}]},
  9. // searchUrl:'/search-pg-fypage-wd-**.html',
  10. searchUrl:'/index.php?m=vod-search#wd=**&search=;post',
  11. searchable:2,
  12. quickSearch:0,
  13. headers:{
  14. // 'User-Agent':'UC_UA'
  15. 'User-Agent':'MOBILE_UA',
  16. // 'Cookie':'test',
  17. },
  18. timeout:5000,
  19. // class_parse:'div.nav a;a&&Text;a&&href;/(\\d.+).html',
  20. class_parse:'div.nav a;a&&Text;a&&href;/(\\d+)-1.html',
  21. play_parse:true,
  22. lazy:'',
  23. limit:5,
  24. 推荐:'.tbox2;*;*;*;*;*',
  25. double:true, // 推荐内容是否双层定位
  26. 一级:'ul.tbox_m2 li;a&&title;a&&data-original;span&&Text;a&&href',
  27. 二级:{"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"},
  28. 搜索:'ul.tbox_m li;*;*;*;*',
  29. }