家庭影视.js 756 B

12345678910111213141516171819202122
  1. Object.assign(muban.mxpro.二级, {
  2. tab_text: 'div--small&&Text',
  3. });
  4. var rule = {
  5. 模板: 'mxpro',
  6. title: '家庭影视',
  7. //host: 'http://103.242.3.90:565/',
  8. host: 'http://a1.qiuyu.xyz:565/',
  9. url: '/index.php/vod/show/id/fyclass/page/fypage.html',
  10. searchUrl: '/index.php/vod/search/page/fypage/wd/**.html',
  11. class_parse: '.navbar-items li:gt(0):lt(7);a&&Text;a&&href;/(\\d+).html',
  12. play_parse: true,
  13. lazy: $js.toString(() => {
  14. let kcode = JSON.parse(request(input).match(/var player_.*?=(.*?)</)[1]);
  15. let kurl = kcode.url;
  16. if (/\.(m3u8|mp4)/.test(kurl)) {
  17. input = {jx: 0, parse: 0, url: kurl};
  18. } else {
  19. input = {jx: 0, parse: 1, url: kurl};
  20. }
  21. }),
  22. }