听书网.js 997 B

1234567891011121314151617181920212223242526272829
  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_parse:'.nav li;a&&Text;a&&href;/book/(\\d+).html',
  14. play_parse:true,
  15. lazy:'js:let purl=request(input).match(/r now=\"(.*?)\"/)[1];log("=================================>"+purl);input={jx:0,url:purl,parse:0}',
  16. limit:6,
  17. double:true,
  18. 推荐:'.row2;ul&&li;.f-bold&&Text;.img-box img&&src;.f-gray&&Text;a&&href',
  19. 一级:'.row3&&li;.f-bold&&Text;.img-box img&&src;.f-gray&&Text;a&&href',
  20. 二级:{
  21. "title":"h2&&Text",
  22. "img":".img-box img&&src",
  23. "desc":"section&&p:eq(1)&&Text",
  24. "content":"section&&p:eq(2)&&Text",
  25. "tabs":"#yuedu&&h2",
  26. "lists":"#yuedu:eq(#id)&&ul&&li"
  27. },
  28. 搜索:'*',
  29. }