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.

35 lines
1.1 KiB

  1. var rule = {
  2. title:'武享吧',
  3. host:'https://www.hula8.net',
  4. url: '/fyclass/page/fypage',
  5. searchUrl: '/page/fypage/?s=**',
  6. searchable:2,
  7. quickSearch:0,
  8. headers:{
  9. 'User-Agent': 'PC_UA',
  10. 'Referer': 'https://www.hula8.net/',
  11. 'Cookie':'esc_search_captcha=1;result=12'
  12. },
  13. timeout:5000,//网站的全局请求超时,默认是3000毫秒
  14. class_parse: '#menu-xinjian&&li;a&&Text;a&&href;net/(.*)',
  15. play_parse:true,
  16. cate_exclude:'首 页|赛事预告|美国格斗赛|亚洲格斗赛|其他格斗赛|日本搏击赛|裸拳赛',
  17. limit:6,
  18. 推荐: 'div.apc-grid-item;*;*;.views&&Text;a&&href',
  19. 一级: '.site-main&&article;img&&alt;img&&data-original;.grid-inf-l&&Text;a&&href',
  20. 二级: {
  21. "title": "h1&&Text;.module-info-tag&&Text",
  22. "img": ".aligncenter&&data-original",
  23. "desc": ";;;.views:eq(0)&&Text;",
  24. "content": "h1&&Text",
  25. "tabs": "js:TABS=['喵喵在线']",
  26. "lists": `js:
  27. var html = JSON.parse(request(input).match(/var bevideo_vids_.*?=({[\\s\\S]*?});/)[1]);
  28. let list = [];
  29. list = html.m3u8dplayer.map(function(item) {
  30. return item.pre + "$" + item.video
  31. });
  32. LISTS = [list];
  33. `
  34. },
  35. 搜索: '*;*;*;.entry-meta&&Text;*',
  36. }