有声小说吧.js 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. var rule = {
  2. title:'有声小说吧',
  3. 编码:'gb18030',
  4. host:'http://m.ysxs8.vip',
  5. url:'/downlist/fyclass_fypage.html',
  6. searchUrl:'/search.asp?page=fypage&searchword=**&searchtype=-1',
  7. searchable:2,
  8. quickSearch:0,
  9. headers:{
  10. 'User-Agent':'MOBILE_UA'
  11. },
  12. timeout:5000,
  13. // homeUrl:'/fenlei/',
  14. // class_parse: '.pd-class:eq(0) dd;a&&Text;a&&href;.*/(.*?).html',
  15. class_name:'网络玄幻&恐怖悬疑&传统武侠&都市言情&官场刑侦&历史军事&探险盗墓&职场商战&明朝那些事儿&评书下载&相声戏曲&人物传记&广播剧&百家讲坛&外语读物&有声文学&儿童读物&管理营销',
  16. class_url:'r52&r17&r12&r13&r14&r15&r45&r81&r36&r3&r7&r16&r18&r32&r35&r41&r4&r6',
  17. play_parse:true,
  18. lazy:'',
  19. limit:6,
  20. // double:true,
  21. 推荐:'.list-ul .list-li;.list-name&&Text;*;.module-slide-author&&Text;*',
  22. 一级:'.book-ol&&li;h4&&Text;img&&data-original;.book-meta&&Text;a&&href',
  23. 二级:{
  24. // title:'h2&&Text;.book-cell .book-rand-a:eq(2)&&Text',
  25. title:'h1&&Text;.book-cell .book-rand-a:eq(0)&&a&&Text',
  26. img:'.book img&&src',
  27. // desc:';;;;.book-des p&&Text',
  28. desc:';;;.book-rand-a:eq(2)&&Text;.book-des p&&Text',
  29. content:'.book-des--p&&Text',
  30. tabs:'.playlist-top&&h2',
  31. // lists:'js:pd=jsp.pd;let url=pd(html,".bookbutton&&a&&href");log(url);html=request(url);let v=pd(html,".booksite&&script&&Html");var document={};var VideoListJson;VideoListJson=eval(v.split("VideoListJson=")[1].split(",urlinfo")[0]);log(typeof VideoListJson);let list1=VideoListJson[0][1];LISTS=[list1];log(LISTS);',
  32. // 有声小说有防盗链,我服了(上面的列表数据正常拿到了,没法播放)
  33. // lists:'#playlist:eq(#id)&&ul&&li',
  34. lists:'#playlist ul li',
  35. },
  36. 搜索:'*',
  37. }