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.

48 lines
2.3 KiB

  1. var rule = {
  2. title: '短剧TV',
  3. host: 'https://www.duanjutv.icu',
  4. url: '/vodshow/fyclassfyfilter.html',
  5. filterable:1,//是否启用分类筛选,
  6. filter_url:'-{{fl.area}}-{{fl.by or "time"}}-{{fl.class}}-{{fl.lang}}-{{fl.letter}}---fypage---{{fl.year}}',
  7. filter: {
  8. "duanjuTV":[
  9. {"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2024","v":"2024"},{"n":"2023","v":"2023"},{"n":"2022","v":"2022"},{"n":"2021","v":"2021"},{"n":"2020","v":"2020"},{"n":"2019","v":"2019"},{"n":"2018","v":"2018"},{"n":"2017","v":"2017"},{"n":"2016","v":"2016"},{"n":"2015","v":"2015"},{"n":"2014","v":"2014"},{"n":"2013","v":"2013"},{"n":"2012","v":"2012"},{"n":"2011","v":"2011"},{"n":"2010","v":"2010"}]},
  10. {"key":"by","name":"排序","value":[{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}]
  11. },
  12. class_name:'关注公众号:东方精英汇,获取最新4K接口。以下为东辰影视短剧',//静态分类名称拼接
  13. class_url:'duanjuTV',//静态分类标识拼
  14. play_parse: true,
  15. limit: 6,
  16. 推荐: '.module-list;.module-items&&.module-item;a&&title;img&&data-src;.module-item-text&&Text;a&&href',
  17. double: true, // 推荐内容是否双层定位
  18. 一级: '.module-items .module-item;a&&title;img&&data-src;.module-item-text&&Text;a&&href',
  19. 二级: {
  20. "title": "h1&&Text;.tag-link&&Text",
  21. "img": ".module-item-pic&&img&&data-src",
  22. "desc": ".video-info-items:eq(0)&&Text;.video-info-items:eq(1)&&Text;.video-info-items:eq(2)&&Text;.video-info-items:eq(3)&&Text",
  23. "content": ".vod_content&&Text",
  24. "tabs": ".module-tab-content&&.module-tab-item",
  25. "lists": ".module-player-list:eq(#id)&&.scroll-content&&a"
  26. },
  27. lazy: `js:
  28. var html = JSON.parse(request(input).match(/r player_.*?=(.*?)</)[1]);
  29. var url = html.url;
  30. if (html.encrypt == '1') {
  31. url = unescape(url)
  32. } else if (html.encrypt == '2') {
  33. url = unescape(base64Decode(url))
  34. }
  35. if (/m3u8|mp4/.test(url)) {
  36. input = {jx:0, url:url, parse:0}
  37. } else {
  38. input
  39. }
  40. `,
  41. searchUrl:'/index.php/ajax/suggest?mid=1&wd=**&limit=50',
  42. detailUrl:'/voddetail/fyid.html', //非必填,二级详情拼接链接
  43. 搜索:'json:list;name;pic;en;en',
  44. }
  45. /*
  46. */