xiaohu.js 976 B

1234567891011121314151617181920212223
  1. var rule = {
  2. title: '小胡',
  3. host: 'http://cc.xzam.cn',
  4. homeUrl: '/api.php/provide/vod?ac=detail',
  5. searchUrl: '/api.php/provide/vod?ac=detail&wd=**&pg=fypage',
  6. detailUrl: '/api.php/provide/vod?ac=detail&ids=fyid',
  7. url: '/api.php/provide/vod?ac=detail&t=fyclass&pg=fypage&f=',
  8. class_name: '电影&国剧&美剧&韩剧&动漫',
  9. class_url: '20&1&2&3&4',
  10. tab_rename:{'公众号:小胡不胡':'奇乐技术网'},
  11. 推荐: 'json:list;vod_name;vod_pic;vod_remarks;vod_id',
  12. 一级: 'json:list;vod_name;vod_pic;vod_remarks;vod_id',
  13. 二级: `js:
  14. let html = request(input);
  15. let list = JSON.parse(html).list;
  16. if(list.length===1){
  17. VOD = list[0];
  18. VOD.vod_blurb = VOD.vod_blurb.replace(/ /g, '').replace(/<[^>]*>/g, '');
  19. VOD.vod_content = VOD.vod_content.replace(/ /g, '').replace(/<[^>]*>/g, '');
  20. }
  21. `,
  22. 搜索: 'json:list;vod_name;vod_pic;vod_remarks;vod_id',
  23. }