有声小说吧.js 1.6 KB

123456789101112131415161718192021222324252627282930
  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. class_name:'网络玄幻&恐怖悬疑&传统武侠&都市言情&官场刑侦&历史军事&探险盗墓&职场商战&明朝那些事儿&评书下载&相声戏曲&人物传记&广播剧&百家讲坛&外语读物&有声文学&儿童读物&管理营销',
  14. class_url:'r52&r17&r12&r13&r14&r15&r45&r81&r36&r3&r7&r16&r18&r32&r35&r41&r4&r6',
  15. play_parse:true,
  16. lazy:'',
  17. limit:6,
  18. double:true,
  19. 推荐:'.list-ul;a;.list-name&&Text;img&&data-original;.module-slide-author&&Text;a&&href',
  20. 一级:'.book-ol&&li;h4&&Text;img&&data-original;.book-submeta&&Text;a&&href',
  21. 二级:{title:'h2&&Text',img:'.bookimg&&img&&data-original',desc:'.book-rand-a:eq(0)&&Text;.book-rand-a:eq(1)&&Text;.book-rand-a:eq(2)&&Text;.book-rand-a:eq(3)&&Text',content:'.book_intro&&Text',
  22. tabs:'.list-contitle&&h3',
  23. lists:'',
  24. 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);',
  25. // 有声小说有防盗链,我服了(上面的列表数据正常拿到了,没法播放)
  26. // lists:'#playlist:eq(#id)&&ul&&li',
  27. lists:'#playlist ul li',
  28. },
  29. 搜索:'*',
  30. }