电影驿站.js 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. var rule = {
  2. author: '小可乐/2408/第一版',
  3. title: '电影驿站',
  4. 类型: '影视',
  5. host: 'https://www.dyyz.cc',
  6. hostJs: '',
  7. headers: {'User-Agent': 'MOBILE_UA'},
  8. 编码: 'utf-8',
  9. timeout: 5000,
  10. homeUrl: '/',
  11. url: '/index.php/api/vod?type=fyfilter&page=fypage',
  12. filter_url: '{{fl.cateId}}&{{fl.area}}&{{fl.by}}&{{fl.class}}&{{fl.lang}}&{{fl.letter}}&{{fl.year}}',
  13. detailUrl: 'voddetail/fyid.html',
  14. searchUrl: '/vodsearch/**----------fypage---.html',
  15. searchable: 1,
  16. quickSearch: 1,
  17. filterable: 1,
  18. class_name: '电影&剧集&综艺&动漫&其他(短剧)',
  19. class_url: '1&2&3&4&49',
  20. filter_def: {
  21. 1: {cateId: '1'},
  22. 2: {cateId: '2'},
  23. 3: {cateId: '3'},
  24. 4: {cateId: '4'},
  25. 49: {cateId: '49'}
  26. },
  27. play_parse: true,
  28. lazy: `js:
  29. let kcode = JSON.parse(request(input).match(/var player_.*?=(.*?)</)[1]);
  30. let kurl = kcode.url;
  31. if (/\\.(m3u8|mp4)/.test(kurl)) {
  32. input = { jx: 0, parse: 0, url: kurl };
  33. } else {
  34. input = { jx: 0, parse: 1, url: kurl };
  35. }
  36. `,
  37. limit: 9,
  38. double: false,
  39. 推荐: '.public-list-exp:has(.public-list-prb);a&&title;img&&data-src;.public-list-prb&&Text;a&&href',
  40. 一级: `js:
  41. let furl=input.split("?")[0];
  42. let fbody=input.split("?")[1];
  43. let timestamp=Math.round(new Date/1e3).toString();
  44. let key=md5("DS"+timestamp+"DCC147D11943AF75");
  45. fbody=fbody+"&time="+timestamp+"&key="+key;
  46. fetch_params.body=fbody;
  47. let fhtml=post(furl,fetch_params);
  48. let fdata=JSON.parse(fhtml);
  49. VODS = fdata.list
  50. `,
  51. 二级: {
  52. title: 'h3&&Text;.slide-info--strong:eq(-1)&&Text',
  53. img: '.detail-pic&&img&&data-src',
  54. desc: '.slide-info:eq(0)&&span:eq(0)&&Text;.slide-info:eq(0)&&span:eq(1)&&Text;.slide-info:eq(0)&&span:eq(2)&&Text;.slide-info--strong:eq(2)&&Text;.slide-info--strong:eq(1)&&Text',
  55. content: '.text&&Text',
  56. tabs: '.anthology-tab&&a',
  57. tab_text: 'body--span&&Text',
  58. lists: '.anthology-list-play:eq(#id)&&a',
  59. list_text: 'body&&Text',
  60. list_url: 'a&&href',
  61. },
  62. 搜索: '.public-list-box;.thumb-txt&&Text;img&&data-src;.public-list-prb&&Text;.public-list-exp&&href',
  63. filter: 'H4sIAAAAAAAAA+2aW1MTSRTH3/kYeWarZpKIYhUP3u/3u5YPWTe1a63rVgm7VZZlFQiJCSoBColIAFmBIBISEBESE75Meib5Fk7SndP977BOFHef5jH/38mZ7tNnes7pmUdtPtO3/1bbI9/v4Ye+/b47oZ7wiV987b77oT/Czm97tcCmnzm//w7d+8sRbj3y3XdkFlms9i/WZOeH6XvcLuTBxXIxZcefCtIhyXiKxdOS7CVix1at/ogk+yRJj7CtgiSdRKy+Yat3XBLTkBeKp8GdKUdnxV6V83EF+SXKLJRLbyQKyvGx6Gh14p2C5KTs/BIrvpQoEJBoMGsXlxQUlA7nn8K0Anvkv/pK1dclBclrWU+W7fERBckRWv2D1pPXCpIhZJGNckEJVNAJ1O3H7XK574W6u+Vq8+B9fbW1JRVq3VGXkHBpwUJIuJBgISRMKbwKlzBN8CpcwpxAH1zC1MBxcKlhUckssOdLYCEkXHIcB5eUudhjBX0uNQlzAy24hJmKI+USJiz64BL5mF5yZoc+uITZhhZcwqRDCy5RPAoJFtnEeHCpYVGdGrVezYOFkOgq408r8TxehUs029KKPfaRFVdxwqSSXWKu8lbLAS6RxVCUJdbQgkuUA9vDznphDnBJxj5lTY1osa9LZDGwbb/HOQuJ4lYcsQupHSYFAG7j0INwSLmLUzn2PN/qXTyXrk5EhVrz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