369影视.js 1.4 KB

12345678910111213141516171819202122232425262728
  1. var rule= {
  2. title:'369影视',
  3. host:'https://www.cs1369.com',
  4. // url:'/index.php/vod/show/id/fyclass/page/fypage.html',
  5. url:'/show/id/fyclass/page/fypage.html',
  6. searchable: 2,//是否启用全局搜索,
  7. quickSearch: 0,//是否启用快速搜索,
  8. filterable:1,//是否启用分类筛选,
  9. class_parse: '.stui-header__menu&&li:gt(0):lt(4);a&&Text;a&&href;.*/(.*?).html',
  10. play_parse: true,
  11. lazy:'js:var html=JSON.parse(request(input).match(/r player_.*?=(.*?)</)[1]);var url=html.url;if(html.encrypt=="1"){url=unescape(url)}else if(html.encrypt=="2"){url=unescape(base64Decode(url))}if(/m3u8|mp4/.test(url)){input=url}else{input}',
  12. limit: 6,
  13. searchUrl:'/search/page/fypage/wd/**.html',
  14. detailUrl:'/detail/fyid.html', //非必填,二级详情拼接链接
  15. 推荐: '.stui-pannel:eq(2);.stui-vodlist&&li;a&&title;a&&data-original;.pic-text&&Text;a&&href',
  16. double: true, // 推荐内容是否双层定位
  17. 一级: '.stui-vodlist li;a&&title;a&&data-original;.pic-text&&Text;a&&href',
  18. 二级: {
  19. "title": "h1&&Text;.data&&Text",
  20. "img": "img&&data-original",
  21. "desc": ';;;.video-info-actor:eq(1)&&Text;.video-info-actor:eq(0)&&Text',
  22. "content": ".stui-pannel:eq(2)&&p&&Text",
  23. "tabs": "h3:eq(0)",
  24. "lists": ".stui-content__playlist&&li"
  25. },
  26. 搜索:'.stui-vodlist__media li;a&&title;a&&data-original;.pic-text&&Text;a&&href',
  27. }