乐猪TV.js 851 B

123456789101112131415161718192021222324
  1. var rule = {
  2. title:'乐猪TV',
  3. host:'http://www.lezhutv.com',
  4. // homeUrl:'/',
  5. url:'/type/fyclass-fypage.html',
  6. searchUrl:'/search-pg-fypage-wd-**.html',
  7. searchable:2,
  8. quickSearch:0,
  9. headers:{
  10. 'User-Agent':'UC_UA'
  11. },
  12. timeout:5000,
  13. class_parse:'div.nav a;a&&Text;a&&href;/(\\d.+).html',
  14. play_parse:true,
  15. lazy:'',
  16. limit:5,
  17. 推荐:'ul.tbox_m2;li;*;*;*;*',
  18. double:true, // 推荐内容是否双层定位
  19. 一级:'ul.tbox_m2 li;a&&title;a&&data-original;span&&Text;a&&href',
  20. 二级:{"title":".data h4&&Text","img":".item-lazy&&data-original","desc":".cr3.starLink&&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"},
  21. 搜索:'ul.tbox_m li;*;*;*;*',
  22. }