剧荒TV.js 1.5 KB

123456789101112131415161718192021222324252627282930313233
  1. var rule = {
  2. title:'剧荒TV',
  3. host:'https://juhuang.tv',
  4. // homeUrl:'/',
  5. url:'/type/fyclass_type_fypage.html[/type/fyclass_type.html]',
  6. searchable:2,
  7. quickSearch:0,
  8. filterable:0,
  9. headers:{'User-Agent':'MOBILE_UA', },
  10. class_name:'电视剧&电影&综艺&动漫&纪录片&Youtube精选',//静态分类名称拼接
  11. class_url:'2&1&3&4&21&28',//静态分类标识拼接
  12. play_parse:true,
  13. lazy:'',
  14. limit:6,
  15. 推荐:'.module-list;.module-items&&.module-item;a&&title;img&&data-src;.module-item-text&&Text;a&&href',
  16. double:true, // 推荐内容是否双层定位
  17. 一级:'.module-items&&.module-item;a&&title;img&&data-src;.module-item-text&&Text;a&&href',
  18. 二级:{
  19. "title":"h1&&Text;.video-info-aux&&div&&a:eq(0)&&Text",
  20. "img":".module-item-pic&&img&&data-src",
  21. "desc":";.video-info-aux&&a:eq(1)&&Text;.video-info-aux&&a:eq(2)&&Text;.video-info-items:eq(1) a&&Text;.video-info-items:eq(0) a&&Text",
  22. // "content":".video-info-content&&Text",
  23. "content":".sqjj_a&&Text",
  24. "tabs":".module-tab-title",
  25. "lists":".module-blocklist&&.sort-item a"
  26. },
  27. // searchUrl:'https://so.juhuang.tv/?s=**',
  28. searchUrl:'https://so.juhuang.tv/soapi.php?wd=**',
  29. detailUrl:'https://juhuang.tv/play/fyid_play_1_1.html', //非必填,二级详情拼接链接
  30. // 搜索:'.module-items .module-search-item;a&&title;img&&data-src;.video-serial&&Text;a&&href',
  31. 搜索:'json:list;vod_name;vod_pic;vod_year;vod_id',
  32. }