You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
983 B

  1. var rule = {
  2. title: '小胡',
  3. host: 'http://keai.xn--yetu07f.icu',
  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: '1&2&3&4&20',
  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. }