剧迷su.js 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. // 搜索只能用"繁体字"
  2. var rule = {
  3. title: '剧迷su',
  4. host: 'https://gimy.su',
  5. // url:'/vodshow/fyclass--------fypage---.html',
  6. // url: '/vodshow/fyfilter.html',
  7. url: '/vod/fyfilter.html',
  8. filterable: 1,//是否启用分类筛选,
  9. filter_url: '{{fl.cateId}}-{{fl.area}}-{{fl.by or "time"}}-{{fl.class}}-{{fl.lang}}-{{fl.letter}}---fypage---{{fl.year}}',
  10. filter: {
  11. "1":[{"key":"cateId","name":"类型","value":[{"n":"全部","v":"1"},{"n":"动作片","v":"6"},{"n":"喜剧片","v":"7"},{"n":"爱情片","v":"8"},{"n":"科幻片","v":"9"},{"n":"恐怖片","v":"10"},{"n":"剧情片","v":"11"},{"n":"战争片","v":"12"},{"n":"動畫電影","v":"24"}]},{"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"}]},{"key":"by","name":"排序","value":[{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}],
  12. "2":[{"key":"cateId","name":"类型","value":[{"n":"全部","v":"2"},{"n":"陸劇","v":"13"},{"n":"韓劇","v":"15"},{"n":"美劇","v":"16"},{"n":"日劇","v":"20"},{"n":"台劇","v":"14"},{"n":"海外劇","v":"21"},{"n":"港劇","v":"22"},{"n":"紀錄片","v":"23"}]},{"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"},{"n":"2009","v":"2009"},{"n":"2008","v":"2008"},{"n":"2006","v":"2006"},{"n":"2005","v":"2005"},{"n":"2004","v":"2004"}]},{"key":"by","name":"排序","value":[{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}],
  13. "3":[{"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"},{"n":"2009","v":"2009"},{"n":"2008","v":"2008"},{"n":"2007","v":"2007"},{"n":"2006","v":"2006"},{"n":"2005","v":"2005"},{"n":"2004","v":"2004"}]},{"key":"by","name":"排序","value":[{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}],
  14. "4":[{"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"},{"n":"2009","v":"2009"},{"n":"2008","v":"2008"},{"n":"2007","v":"2007"},{"n":"2006","v":"2006"},{"n":"2005","v":"2005"},{"n":"2004","v":"2004"}]},{"key":"by","name":"排序","value":[{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}]
  15. },
  16. filter_def: {
  17. 1: { cateId: '1' },
  18. 2: { cateId: '2' },
  19. 3: { cateId: '3' },
  20. 4: { cateId: '4' }
  21. },
  22. searchUrl: '/vodsearch/**----------fypage---.html',
  23. searchable: 2,
  24. quickSearch: 0,
  25. headers: {
  26. 'User-Agent': 'MOBILE_UA',
  27. },
  28. timeout: 5000,
  29. class_parse: '.navbar-left&&li:gt(0);a&&Text;a&&href;/(\\d+).html',
  30. tab_rename:{'WYun':'无尽','海外雲':'海外看','SYun':'闪电','TYun':'天空','QYun':'飞速','Uyun':'U酷','OYun':'卧龙','NYun':'量子','JYun':'鱼乐','Kyun': '快播'},
  31. play_parse: true,
  32. lazy:`js:
  33. var html = JSON.parse(request(input).match(/r player_.*?=(.*?)</)[1]);
  34. var url = html.url;
  35. if (html.encrypt == '1') {
  36. url = unescape(url)
  37. } else if (html.encrypt == '2') {
  38. url = unescape(base64Decode(url))
  39. }
  40. if (/\\.m3u8|\\.mp4/.test(url)) {
  41. input = {
  42. jx: 0,
  43. url: url,
  44. parse: 0
  45. }
  46. } else {
  47. input
  48. }
  49. `,
  50. limit: 6,
  51. 推荐: 'ul.col-md-8;li;*;*;*;*',
  52. double: true,
  53. 一级: '#content&&li;a&&title;a&&data-original;.text-bg-r&&Text;a&&href',
  54. 二级: {
  55. "title": "h1&&Text;li.col-xs-12--span:eq(1)&&Text",
  56. "img": ".video-pic:eq(0)&&style",
  57. "desc": "li.col-xs-12:eq(0)&&Text;;;li.col-md-12--span:eq(1)&&Text;li.col-md-6--span:eq(2)&&Text",
  58. "content": ".details-content-all&&Text",
  59. "tabs": "a.gico",
  60. "lists": "ul.fade:eq(#id)&&li"
  61. },
  62. 搜索: '#content&&div.details-info-min;*;*;.hidden-lg&&Text;*',
  63. }