RRDYW.js 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. var rule = {
  2. title: '人人电影网',
  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:\n input = 'push://' + input;\n ",
  28. limit: 6,
  29. 推荐: '',
  30. 一级: 'li:has(img);img&&alt;img&&data-original;;a&&href',
  31. 二级: {
  32. title: "h1&&Text",
  33. img: "img&&src",
  34. desc: "",
  35. content: "span&&Text",
  36. tabs: `js: pdfh = jsp.pdfh;
  37. pdfa = jsp.pdfa;
  38. pd = jsp.pd;
  39. TABS = []
  40. let d = pdfa(html, 'span a');
  41. let tabsa = [];
  42. let tabsq = [];
  43. let tabsm = false;
  44. let tabse = false;
  45. d.forEach(function(it) {
  46. let burl = pdfh(it, 'a&&href');
  47. if (burl.startsWith("https://pan.quark.cn/s/")) {
  48. tabsq.push("夸克网盘");
  49. } else if (burl.startsWith("magnet")) {
  50. tabsm = true;
  51. } else if (burl.startsWith("ed2k")) {
  52. tabse = true;
  53. }
  54. });
  55. if (tabsm === true) {
  56. TABS.push("磁力");
  57. }
  58. if (tabse === true) {
  59. TABS.push("电驴");
  60. }
  61. let tmpIndex;
  62. tmpIndex = 1;
  63. tabsa.forEach(function(it) {
  64. TABS.push(it + tmpIndex);
  65. tmpIndex = tmpIndex + 1;
  66. });
  67. tmpIndex = 1;
  68. tabsq.forEach(function(it) {
  69. TABS.push(it + tmpIndex);
  70. tmpIndex = tmpIndex + 1;
  71. });
  72. log('alyps TABS >>>>>>>>>>>>>>>>>>' + TABS);`,
  73. lists: `js: log(TABS);
  74. pdfh = jsp.pdfh;
  75. pdfa = jsp.pdfa;
  76. pd = jsp.pd;
  77. LISTS = [];
  78. let d = pdfa(html, 'span a');
  79. let lista = [];
  80. let listq = [];
  81. let listm = [];
  82. let liste = [];
  83. d.forEach(function(it) {
  84. let burl = pdfh(it, 'a&&href');
  85. let title = pdfh(it, 'a&&Text');
  86. log('alyps title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title);
  87. log('alyps burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl);
  88. let loopresult = title + '$' + burl;
  89. if (burl.startsWith("https://pan.quark.cn/s/")) {
  90. if (TABS.length == 1) {
  91. burl = burl.replace("?entry=sjss", ""),
  92. burl = "http://127.0.0.1:9978/proxy?do=quark&type=push&confirm=0&url=" + encodeURIComponent(burl);
  93. } else {
  94. burl = burl.replace("?entry=sjss", ""),
  95. burl = "http://127.0.0.1:9978/proxy?do=quark&type=push&url=" + encodeURIComponent(burl);
  96. }
  97. loopresult = title + '$' + burl;
  98. listq.push(loopresult);
  99. } else if (burl.startsWith("magnet")) {
  100. listm.push(loopresult);
  101. } else if (burl.startsWith("ed2k")) {
  102. liste.push(loopresult);
  103. }
  104. });
  105. if (listm.length > 0) {
  106. LISTS.push(listm.reverse());
  107. }
  108. if (liste.length > 0) {
  109. LISTS.push(liste.reverse());
  110. }
  111. lista.forEach(function(it) {
  112. LISTS.push([it]);
  113. });
  114. listq.forEach(function(it) {
  115. LISTS.push([it]);
  116. });`,
  117. },
  118. 搜索: 'li:has(img);h2&&Text;img&&data-original;.tags&&Text;a&&href',
  119. }