看一看影视.js 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // 搜索验证
  2. var rule = {
  3. title:'看一看影视',
  4. host:'https://www.kanyk.cc',
  5. // homeUrl:'/',
  6. // url:'/index.php?m=vod-list-id-fyclass-pg-fypage-order--by--class--year--letter--area--lang-.html',
  7. url:'/index.php?m=vod-list-id-fyfilter-pg-fypage-order--by--class--year--letter--area--lang-.html',
  8. filterable:1,//是否启用分类筛选,
  9. filter_url:'{{fl.cateId}}',
  10. filter: {"1":[{"key":"cateId","name":"类型","value":[{"n":"全部","v":"1"},{"n":"动作片","v":"5"},{"n":"喜剧片","v":"6"},{"n":"爱情片","v":"7"},{"n":"科幻片","v":"8"},{"n":"恐怖片","v":"9"},{"n":"剧情片","v":"10"},{"n":"战争片","v":"11"},{"n":"纪录片","v":"16"},{"n":"微电影","v":"18"},{"n":"惊悚片","v":"20"},{"n":"悬疑片","v":"21"}]}],"2":[{"key":"cateId","name":"类型","value":[{"n":"全部","v":"2"},{"n":"国产剧","v":"12"},{"n":"港台剧","v":"13"},{"n":"日韩剧","v":"14"},{"n":"欧美剧","v":"15"},{"n":"泰剧","v":"19"},{"n":"海外剧","v":"32"}]}],"4":[{"key":"cateId","name":"类型","value":[{"n":"全部","v":"4"},{"n":"TV版","v":"23"},{"n":"电影版","v":"24"},{"n":"剧场版","v":"25"},{"n":"国语经典","v":"36"}]}],"3":[{"key":"cateId","name":"类型","value":[{"n":"全部","v":"3"},{"n":"TV综艺","v":"26"},{"n":"音乐MV","v":"31"}]}]},
  11. filter_def:{
  12. 1:{cateId:'1'},
  13. 2:{cateId:'2'},
  14. 3:{cateId:'3'},
  15. 4:{cateId:'4'},
  16. 16:{cateId:'16'},
  17. 12:{cateId:'12'},
  18. 13:{cateId:'13'},
  19. 14:{cateId:'14'},
  20. 15:{cateId:'15'},
  21. 19:{cateId:'19'}
  22. },
  23. searchUrl:'/index.php?m=vod-search-pg-fypage-wd-**.html',
  24. searchable:2,//是否启用全局搜索,
  25. headers:{//网站的请求头,完整支持所有的,常带ua和cookies
  26. 'User-Agent':'MOBILE_UA',
  27. // "Cookie": "searchneed=ok"
  28. },
  29. class_name:'电影&电视剧&综艺&动漫&纪录片&国产剧&港台剧&日韩剧&欧美剧&泰剧',
  30. class_url:'1&2&3&4&16&12&13&14&15&19',
  31. play_parse:true,
  32. lazy:'',
  33. limit:6,
  34. 推荐:'.index-area.clearfix;ul&&li;a&&title;img&&data-original;.other&&Text;a&&href',
  35. double:true, // 推荐内容是否双层定位
  36. 一级:'.index-area.clearfix&&ul&&li;a&&title;img&&data-original;.other&&Text;a&&href',
  37. 二级:{"title":".ek.title&&a:eq(2)&&Text;.module-info-tag-link:eq(2)&&Text","img":".ek.ct-l&&img&&data-original","desc":".module-info-content&&.module-info-item:eq(-2)&&Text;.module-info-content&&.module-info-item:eq(-2)&&Text;.module-info-content&&.module-info-item:eq(-2)&&Text;.ek.ct-c&&dl&&dt:eq(1)&&Text;.ek.ct-c&&dl&&dt:eq(3)&&Text","content":".ek.ct-c&&.ek.ee&&Text","tabs":".ek.playfrom&&li","lists":".ek.playlist:eq(#id)&&.ek.videourl li"},
  38. 搜索:'.index-area.clearfix&&ul&&li;*;*;*;*',
  39. }