有声小说.js 1.7 KB

1234567891011121314151617181920212223242526272829303132333435
  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. img:'.book img&&src',
  26. desc:';;;;.book-des p&&Text',
  27. content:'.book-des&&Text',
  28. tabs:'.playlist-top&&h2',
  29. // 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);',
  30. // 有声小说有防盗链,我服了(上面的列表数据正常拿到了,没法播放)
  31. // lists:'#playlist:eq(#id)&&ul&&li',
  32. lists:'#playlist ul li',
  33. },
  34. 搜索:'*',
  35. }