九酷.js 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. var rule = {
  2. title: '九酷',
  3. host: 'https://jiuku.site',
  4. class_name:'电影&电视剧&综艺&动漫',
  5. class_url:'1&2&3&4',
  6. homeUrl: '',
  7. searchUrl: '/index.php/ajax/suggest?mid=1&wd=**',
  8. searchable: 2,
  9. quickSearch: 0,
  10. headers:{'User-Agent':'MOBILE_UA'},
  11. // 分类链接fypage参数支持1个()表达式
  12. // url: '/index.php/api/vod#type=fyclass&page=fypage',
  13. url: '/index.php/api/vod#type=fyfilter&page=fypage',
  14. filterable:1,//是否启用分类筛选,
  15. filter_url:'{{fl.cateId}}',
  16. 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"}]}],"2":[{"key":"cateId","name":"分类","value":[{"n":"全部","v":"2"},{"n":"国产剧","v":"13"},{"n":"港台剧","v":"14"},{"n":"日韩剧","v":"15"},{"n":"欧美剧","v":"16"}]}]},
  17. filter_def:{
  18. 1:{cateId:'1'},
  19. 2:{cateId:'2'},
  20. 3:{cateId:'3'},
  21. 4:{cateId:'4'}
  22. },
  23. detailUrl:'/index.php/vod/detail/id/fyid.html',
  24. 推荐:'.list-vod.flex .public-list-box;a&&title;.lazy&&data-original;.public-list-prb&&Text;a&&href',
  25. 一级:'',
  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;',
  27. 二级:{
  28. "title":".slide-info-title&&Text;.slide-info:eq(3)--strong&&Text",
  29. "img":".detail-pic&&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&&.swiper-slide",
  33. "tab_text":".swiper-slide--i&&Text",
  34. "lists":".anthology-list-box:eq(#id) li"
  35. },
  36. 搜索:'json:list;name;pic;;id',
  37. }