6yue.js 1.6 KB

123456789101112131415161718192021222324252627
  1. var rule = {
  2. title: '六月听书',
  3. host: 'http://m.6yueting.com',
  4. url: '/ys/fyclass/o2/pfypage',
  5. searchUrl: '/search/index/search?content=**&type=1&pageNum=fypage&pageSize=40',
  6. searchable: 2,
  7. quickSearch: 0,
  8. filterable:0,//是否启用分类筛选,
  9. headers:{'User-Agent':'MOBILE_UA'},
  10. class_name:'全部分类&玄幻奇幻&修真武侠&恐怖灵异&古今言情&都市言情&穿越重生&粤语古仔&网游小说&通俗文学&历史纪实&军事&悬疑推理&ebc5系列&官场商战&儿童读物&广播剧&外文原版&评书大全&相声小品&百家讲坛&健康养生&教材&期刊头条&戏曲&脱口秀',
  11. class_url:'t0&t1&t2&t3&t4&t28&t5&t6&t7&t11&t12&t13&t14&t18&t15&t16&t17&t22&t8&t9&t10&t20&t21&t23&t24&t27',
  12. play_parse:true,
  13. lazy:'',
  14. limit:6,
  15. 图片来源:'@Referer=http://m.6yueting.com/@User-Agent=MOBILE_UA',
  16. 推荐:'*',
  17. 一级: '.list-wrapper&&.item-link;h2--span&&Text;img&&src;.status&&Text;a&&href',
  18. 二级:{
  19. "title":".book-title&&Text;.text:eq(0)&&Text",
  20. "img":".img&&src",
  21. "desc":".text:eq(3)&&Text;;;.text:eq(1)&&Text;.text:eq(2)&&Text",
  22. "content":".book-intro&&Text",
  23. "tabs":".operate-bar&&.total-num",
  24. "lists":".book-list:eq(#id)&&.list-item"
  25. },
  26. 搜索:'js:let d=[];let MY_HOME="http://m.6yueting.com";let html=request(input);html=JSON.parse(html);let list=html.data.content;list.forEach(function(it){d.push({title:it.name.replace(/<.*?>/g,""),img:"http://img.6yueting.com:20001/"+it.coverUrlLocal,url:MY_HOME+"/list/"+it.code,desc:it.cdate,content:it.descXx.replace(/&nbsp;/g,"")})});setResult(d);',
  27. }