M1949电影.js 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. var rule = {
  2. 类型:'影视',//影视|听书|漫画|小说
  3. title:'M1949电影',
  4. host:'https://sosexxx.com/',
  5. url:'/index.php/vod/type/id/fyclass/page/fypage.html',
  6. searchUrl:'/index.php/vod/search.html?wd=**',
  7. searchable:2,
  8. quickSearch:0,
  9. filterable:1,
  10. filter:'',
  11. filter_url:'',
  12. filter_def:{},
  13. headers:{
  14. 'User-Agent':'MOBILE_UA',
  15. },
  16. timeout:5000,
  17. class_parse:'.swiper-wrapper a:gt(0):lt(5);a&&Text;a&&href;.*/(.*?).html',
  18. cate_exclude:'',
  19. play_parse:true,
  20. lazy: $js.toString(() => {
  21. let html = JSON.parse(request(input).match(/r player_.*?=(.*?)</)[1]);
  22. let url = html.url;
  23. if (html.encrypt == '1') {
  24. url = unescape(url)
  25. } else if (html.encrypt == '2') {
  26. url = unescape(base64Decode(url))
  27. }
  28. if (/\.m3u8|\.mp4/.test(url)) {
  29. input = {
  30. jx: 0,
  31. url: url,
  32. parse: 0
  33. }
  34. } else {
  35. input
  36. }
  37. }),
  38. double:true,
  39. 推荐: '*',
  40. 一级:'.row li;a&&title;.pic .lazyload&&data-original;.item-status.text-overflow&&Text;a&&href',
  41. 二级:{
  42. title:'h3&&a&&Text',
  43. img:'.pic .lazyload&&data-original',
  44. desc:'.row&&Text;..col-sm-6:eq(3)&&TExt;.col-xs-12.col-sm-6:eq(1)&&TExt;',
  45. content:'.text.text-row&&Text',
  46. tabs:'.playlist-tab li',
  47. lists:'.ewave-playlist-content:eq(#id)&&li',
  48. tab_text:'body&&Text',
  49. list_text:'body&&Text',
  50. list_url:'a&&href',
  51. list_url_prefix: '',
  52. },
  53. 搜索:'*',
  54. }