午夜影视.js 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. var rule = {
  2. title: '午夜影视',
  3. host: 'http://rxwuye.com',
  4. class_name:'电影&电视剧&综艺&动漫&短片',
  5. class_url:'1&2&3&4&42',
  6. searchUrl: '/index.php/ajax/suggest?mid=1&wd=**',
  7. searchable: 2,
  8. quickSearch: 0,
  9. headers:{'User-Agent':'MOBILE_UA'},
  10. url: '/index.php/api/vod#type=fyfilter&page=fypage',
  11. filterable:1,//是否启用分类筛选,
  12. filter_url:'{{fl.cateId}}',
  13. filter: {"1":[{"key":"cateId","name":"分类","value":[{"n":"全部","v":"1"},{"n":"动作片","v":"6"},{"n":"喜剧片","v":"7"},{"n":"爱情片","v":"8"},{"n":"科幻片","v":"9"},{"n":"恐怖片","v":"10"},{"n":"剧情片","v":"11"},{"n":"战争片","v":"12"},{"n":"记录片","v":"20"},{"n":"动画片","v":"45"},{"n":"1080P电影","v":"46"}]}],"2":[{"key":"cateId","name":"分类","value":[{"n":"全部","v":"2"},{"n":"国产剧","v":"13"},{"n":"香港剧","v":"14"},{"n":"韩国剧","v":"15"},{"n":"欧美剧","v":"16"},{"n":"台湾剧","v":"22"},{"n":"日本剧","v":"23"},{"n":"泰国剧","v":"24"},{"n":"海外剧","v":"25"},{"n":"高清电视剧","v":"50"}]}]},
  14. filter_def:{
  15. 1:{cateId:'1'},
  16. 2:{cateId:'2'},
  17. 3:{cateId:'3'},
  18. 4:{cateId:'4'},
  19. 42:{cateId:'42'}
  20. },
  21. detailUrl:'/index.php/vod/detail/id/fyid.html',
  22. 图片来源:'@Referer=http://rxwuye.com/',
  23. 推荐:'.list-vod.flex .public-list-box;a&&title;.lazy&&data-original;.public-list-prb&&Text;a&&href',
  24. 一级:'',
  25. 一级:'js:let body=input.split("#")[1];let t=Math.round(new Date/1e3).toString();let key=md5("DS"+t+"DCC147D11943AF75");let url=input.split("#")[0];body=body+"&time="+t+"&key="+key;print(body);fetch_params.body=body;let html=post(url,fetch_params);let data=JSON.parse(html);VODS=data.list.map(function(it){it.vod_pic=urljoin2(input.split("/i")[0],it.vod_pic);return it});',
  26. //一级:'js:let body=input.split("#")[1];let t=Math.round(new Date/1e3).toString();let key=md5("DS"+t+"DCC147D11943AF75");let url=input.split("#")[0];body=body+"&time="+t+"&key="+key;print(body);fetch_params.body=body;let html=post(url,fetch_params);let data=JSON.parse(html);VODS=data.list.map(function(it){it.vod_pic=it.vod_pic.replace("mac:","https:");return it});',
  27. 二级:{
  28. "title":".slide-info-title&&Text;.slide-info:eq(3)--strong&&Text",
  29. "img":".lazy&&data-original",
  30. "desc":".fraction&&Text;.slide-info-remarks:eq(1)&&Text;.slide-info-remarks:eq(2)&&Text;.slide-info:eq(2)--strong&&Text;.slide-info:eq(1)--strong&&Text",
  31. "content":"#height_limit&&Text",
  32. "tabs":".anthology.wow.fadeInUp.animated&&.swiper-wrapper&&a",
  33. "tab_text":".swiper-slide&&Text",
  34. "lists":".anthology-list-box:eq(#id)&&.anthology-list-play&&li"
  35. },
  36. 搜索:'json:list;name;pic;;id',
  37. }