听书网.js 1.3 KB

123456789101112131415161718192021222324252627
  1. var rule = {
  2. title:'听书网',
  3. host:'https://www.tingbook.cc',
  4. // url:'/book/fyclass_fypage.html',
  5. url:'/book/fyclass-fypage.html',
  6. searchUrl:'/search.php?page=fypage&searchword=**&searchtype=-1',
  7. searchable:2,
  8. quickSearch:0,
  9. headers:{
  10. 'User-Agent':'MOBILE_UA'
  11. },
  12. timeout:5000,
  13. // class_name:'玄幻&武侠&都市&言情&科幻&推理&恐怖&惊悚&历史&军事&网游&官商&评书&相声&文学&儿童&穿越&娱乐&笑话&戏曲&其它&百家讲坛',
  14. // class_url:'1&2&3&4&5&6&7&8&9&10&11&12&13&14&15&16&28&29&30&31&32&33',
  15. class_parse:'.nav li;a&&Text;a&&href;/book/(\\d+).html',
  16. play_parse:true,
  17. lazy:'',
  18. limit:6,
  19. double:true,
  20. // 推荐:'.row2;ul&&li;.f-bold&&Text;.img-box&&img;.f-gray&&Text;a&&href',
  21. 推荐:'.row2;ul&&li;.f-bold&&Text;.img-box img&&src;.f-gray&&Text;a&&href',
  22. // 一级:'.row3&&li;.f-bold&&Text;img-box&&img;.f-gray&&Text;a&&href',
  23. 一级:'.row3&&li;.f-bold&&Text;.img-box img&&src;.f-gray&&Text;a&&href',
  24. // 二级:{title:'h2&&Text',img:'.img-box&&img',desc:'section&&p:eq(1)&&Text',content:'section&&p:eq(2)&&Text',tabs:'#yuedu&&h2',lists:'#yuedu:eq(#id)&&ul&&li'},
  25. 二级:{title:'h2&&Text',img:'.img-box img&&src',desc:'section&&p:eq(1)&&Text',content:'section&&p:eq(2)&&Text',tabs:'#yuedu&&h2',lists:'#yuedu:eq(#id)&&ul&&li'},
  26. 搜索:'*',
  27. }