rrdyw.js 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. var rule = {
  2. title: 'RRDY網',
  3. host: 'https://www.rrdynb.com',
  4. homeUrl: '/',
  5. url: '/fyclass_fypage.html?',
  6. filter_url: '{{fl.class}}',
  7. filter: {},
  8. searchUrl: '/plus/search.php?q=**&pagesize=10&submit=',
  9. searchable: 2,
  10. quickSearch: 1,
  11. filterable: 0,
  12. headers: {
  13. 'User-Agent': 'PC_UA',
  14. 'Cookie': ''
  15. },
  16. timeout: 5000,
  17. class_name: '影视&電視劇&老電影&動漫',
  18. class_url: 'movie/list_2&dianshiju/list_6&zongyi/list_10&dongman/list_13',
  19. play_parse: true,
  20. play_json: [{
  21. re: '*',
  22. json: {
  23. parse: 0,
  24. jx: 0
  25. }
  26. }],
  27. lazy:`js:
  28. input = panPlay(input,playObj.flag)
  29. `,
  30. limit: 6,
  31. 推荐: 'div.stui-vodlist__box;a&&title;a&&data-original;;a&&href',
  32. 一级: 'li:has(img);img&&alt;img&&data-original;;a&&href',
  33. 二级: {
  34. title: "h1&&Text",
  35. img: "img&&src",
  36. desc: "",
  37. content: "span&&Text",
  38. tabs: `js: pdfh = jsp.pdfh;
  39. pdfa = jsp.pdfa;
  40. pd = jsp.pd;
  41. TABS = []
  42. let d = pdfa(html, 'span a');
  43. let listurl = [];
  44. d.forEach(function(it) {
  45. let burl = pdfh(it, 'a&&href');
  46. if (burl.startsWith("https://www.aliyundrive.com/s/") ||
  47. burl.startsWith("https://www.alipan.com/s/") ||
  48. burl.startsWith("https://pan.quark.cn/s/") ||
  49. burl.startsWith("https://pan.xunlei.com/s/") ||
  50. burl.startsWith("https://pan.baidu.com/s/") ){
  51. listurl.push(burl);
  52. }
  53. });
  54. if (listurl.length){
  55. initPan();
  56. let alistVod = panDetailContent(vod ,listurl);
  57. TABS = alistVod.tabs
  58. LISTS = alistVod.lists
  59. detailError = alistVod.error
  60. }
  61. `,
  62. lists:`js:`,
  63. },
  64. 搜索: 'li:has(img);h2&&Text;img&&data-original;.tags&&Text;a&&href',
  65. }