快看.js 2.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. var rule={
  2. title:'快看',
  3. host:'https://www.kuaikanys.net',
  4. // homeUrl:'/',
  5. url:'/s/fyfilter/page/fypage.html',
  6. filterable:1,//是否启用分类筛选,
  7. filter_url:'{{fl.cateId}}',
  8. filter: {"dianying":[{"key":"cateId","name":"类型","value":[{"n":"全部","v":"dianying"},{"n":"动作片","v":"dongzuopian"},{"n":"喜剧片","v":"xijupian"},{"n":"爱情片","v":"aiqingpian"},{"n":"科幻片","v":"kehuanpian"},{"n":"言情片","v":"yanqingpian"},{"n":"恐怖片","v":"kongbupian"},{"n":"剧情片","v":"juqingpian"},{"n":"战争片","v":"zhanzhengpian"}]}],"lianxuju":[{"key":"cateId","name":"类型","value":[{"n":"全部","v":"lianxuju"},{"n":"国产剧","v":"guochanju"},{"n":"港台剧","v":"gangtaiju"},{"n":"日韩剧","v":"rihanju"},{"n":"欧美剧","v":"oumeiju"},{"n":"其他剧","v":"qitaju"}]}]},
  9. filter_def:{
  10. dianying:{cateId:'dianying'},
  11. lianxuju:{cateId:'lianxuju'},
  12. zongyi:{cateId:'zongyi'},
  13. dongman:{cateId:'dongman'}
  14. },
  15. searchUrl:'/vodsearch/-------------.html?wd=**&submit=',
  16. searchable:2,//是否启用全局搜索,
  17. quickSearch:0,//是否启用快速搜索,
  18. headers:{//网站的请求头,完整支持所有的,常带ua和cookies
  19. 'User-Agent':'MOBILE_UA',
  20. // "Cookie": "searchneed=ok"
  21. },
  22. class_parse:'nav ul li;a&&Text;a&&href;.*/(.*?)\.html',
  23. cate_exclude:'专题',
  24. play_parse:true,
  25. lazy:'',
  26. limit:6,
  27. 推荐:'.show;ul&&li;*;*;*;*',
  28. double:true, // 推荐内容是否双层定位
  29. 一级:'.show&&ul&&li;a&&title;img&&src;.score&&Text;a&&href',
  30. // 二级:{"title":"h1&&Text;.info&&ul&&p&&Text","img":"img&&src","desc":".info&&ul&&p:eq(-2)&&Text;.info&&ul&&p:eq(-1)&&Text;.info&&ul&&p:eq(0)&&Text;.info&&ul&&p:eq(1)&&Text;.info&&ul&&p:eq(2)&&Text;.info&&ul&&p:eq(3)&&Text","content":".text&&Text","tabs":".play&&span","lists":".playlist&&ul:eq(#id) li"},
  31. 二级:{"title":"h1&&Text;.info&&ul&&p&&Text","img":"img&&src","desc":";;;.info ul li:eq(0)&&Text;.info ul li:eq(1)&&Text;.info&&ul&&p:eq(3)&&Text","content":".text p&&Text","tabs":".play&&span","lists":".playlist&&ul:eq(#id) li"},
  32. 搜索:'*',
  33. // 搜索:'*;*;*;*;*',
  34. }