xxpan.js 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. var rule = {
  2. title:'小盘盘',
  3. host:'https://xpanpan.site',
  4. url:'/category/fyclass/page/fypage',
  5. detailUrl:'/fyid.html',
  6. searchUrl:'/page/fypage?s=**',
  7. searchable:1,
  8. filterable:1,
  9. quickSearch:0,
  10. timeout:30000,
  11. class_name:'影视天地&动漫天地&阿里云盘&夸克网盘&移动云盘&百度网盘&迅雷云盘&UC网盘',
  12. class_url:'video-tv-list&cartoon-list&ali-yun-pan-list&kua-ke-wang-pan-list&zy&yi-dong-yun-pan-list&bai-du-wang-pan-list&xun-lei-yun-pan-list&uc-wang-pan-list',
  13. play_parse:true,
  14. lazy:`js:
  15. input = panPlay(input,playObj.flag)
  16. `,
  17. limit:5,
  18. 推荐:'.content-area&&.bloglo-flex-row&&.col-md-12;.entry-title&&a&&title;;.entry-title&&.post-category&&a&&Text;.entry-title&&a&&href',
  19. 一级:'.content-area&&.bloglo-flex-row&&.col-md-12;.entry-title&&a&&title;;.entry-title&&.post-category&&a&&Text;.entry-title&&a&&href',
  20. 二级: {
  21. title: ".entry-content&&h6&&Text",
  22. img: "",
  23. desc: "",
  24. content: "",
  25. tabs: `js: pdfh = jsp.pdfh;
  26. pdfa = jsp.pdfa;
  27. pd = jsp.pd;
  28. TABS=[]
  29. let d = pdfa(html, 'div.entry-content ul li a');
  30. let listurl = [];
  31. d.forEach(function(it) {
  32. let burl = pdfh(it, 'a&&href');
  33. listurl.push(burl);
  34. });
  35. if (listurl.length){
  36. initPan();
  37. let alistVod = panDetailContent(vod ,listurl);
  38. TABS = alistVod.tabs
  39. LISTS = alistVod.lists
  40. detailError = alistVod.error
  41. }
  42. `,lists: `js:`,
  43. },
  44. 搜索:'.content-area&&.bloglo-flex-row&&.col-md-12;.entry-title&&a&&title;;.entry-title&&.post-category&&a&&Text;.entry-title&&a&&href',
  45. }