星星.js 1.3 KB

123456789101112131415161718192021222324252627282930
  1. muban.短视2.二级.img = '.detail-pic&&img&&data-src';
  2. var rule = {
  3. title: '星星影视',
  4. 模板:'短视2',
  5. host: 'https://www.xy1080.net',
  6. homeUrl:'/map.html',
  7. // url: '/index.php/api/vod#type=fyclass&page=fypage',
  8. url: '/index.php/api/vod/#type=class&page=fypage',
  9. //url:'/index.php/vod/show/id/fyfilter.html',
  10. filterable:0,//是否启用分类筛选,
  11. filter_def:{
  12. 1:{cateId:'1'},
  13. 2:{cateId:'2'},
  14. 3:{cateId:'3'},
  15. 4:{cateId:'4'}
  16. },
  17. searchUrl:'/index.php/ajax/suggest?mid=fypage&wd=**',
  18. 搜索:'json:list;name;pic;;id',
  19. class_parse:'.swiper-wrapper&&li;a&&Text;a&&href;.*/(\\d+).html',
  20. class_name:'',
  21. class_url:'',
  22. detailUrl:'/voddetail/fyid/',
  23. 推荐:'.border-box .public-list-box;a&&title;.data-src;.public-list-prb&&Text;a&&href',
  24. 图片来源:'@Referer=https://www.xy1080.net/',
  25. double: false, // 推荐内容是否双层定位
  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. }