金牌影院.js 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. var rule = {
  2. title: '金牌影院',
  3. host: 'https://m.cfkj86.com',
  4. url: '/api/mw-movie/anonymous/video/list?pageNum=fypage&pageSize=30&sort=1&sortBy=1&type1=fyclass',
  5. searchUrl: '/api/mw-movie/anonymous/video/searchByWordPageable?keyword=**&pageNum=fypage&pageSize=12&type=false',
  6. headers: {
  7. 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36',
  8. 'Referer': 'https://www.cfkj86.com/'
  9. },
  10. searchable: 2,
  11. quickSearch: 0,
  12. filterable: 0,
  13. class_name: '电视剧&电影&综艺&动漫',
  14. class_url: '2&1&3&4',
  15. limit: 6,
  16. double: false,
  17. play_parse:true,
  18. lazy:$js.toString(()=>{
  19. let pid = input.split('/')[5]
  20. let nid = input.split('/')[7]
  21. const t = new Date().getTime()
  22. eval(getCryptoJS)
  23. let signkey = 'id='+pid+'&nid='+nid+'&key=cb808529bae6b6be45ecfab29a4889bc&t='+t
  24. const key = CryptoJS.SHA1(CryptoJS.MD5(signkey).toString()).toString()
  25. let json_data = JSON.parse(request('https://www.cfkj86.com/api/mw-movie/anonymous/v1/video/episode/url?id='+pid+'&nid='+nid,{headers: {
  26. 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36',
  27. 'deviceid': 'c6bce57d-bb62-4db7-96cd-265dfb2a79cf',
  28. 'sign': key,
  29. 't': t
  30. }}))
  31. log(json_data)
  32. let link = json_data.data.playUrl
  33. input={url:link,header:rule.headers}
  34. }),
  35. 一级: $js.toString(()=>{
  36. let d = []
  37. let url = ''
  38. const t = new Date().getTime()
  39. const signkey = 'pageNum='+MY_PAGE+'&pageSize=30&sort=1&sortBy=1&type1='+MY_CATE+'&key=cb808529bae6b6be45ecfab29a4889bc&t='+t
  40. const key = CryptoJS.SHA1(CryptoJS.MD5(signkey).toString()).toString()
  41. const list = JSON.parse(request(input,{headers:{
  42. 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36',
  43. 'Accept': 'application/json, text/plain, */*',
  44. 'deviceId': 'c6bce57d-bb62-4db7-96cd-265dfb2a79cf',
  45. 'sign': key,
  46. 't': t
  47. }})).data.list
  48. list.forEach((it)=>{
  49. url = 'https://www.cfkj86.com/detail/'+it.vodId
  50. d.push({
  51. title: it.vodName,
  52. desc:it.vodRemarks,
  53. img:it.vodPic,
  54. url:url
  55. })
  56. })
  57. setResult(d)
  58. }),
  59. 二级: {
  60. title: 'h1&&Text',
  61. content: '.wrapper_more_text&&Text',
  62. //tabs: '.top a',//
  63. tabs: '.player_name',
  64. lists: '.main-list-sections__BodyArea-sc-8bb7334b-2 .listitem a',
  65. },
  66. 搜索: $js.toString(()=>{
  67. const t = new Date().getTime()
  68. eval(getCryptoJS)
  69. let pg = MY_PAGE
  70. let signkey = 'keyword='+KEY+'&pageNum='+pg+'&pageSize=12&type=false&key=cb808529bae6b6be45ecfab29a4889bc&t='+t
  71. const key = CryptoJS.SHA1(CryptoJS.MD5(signkey).toString()).toString()
  72. let html = JSON.parse(request(input,{headers: {
  73. 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36',
  74. 'deviceid': '58a80c52-138c-48fd-8edb-138fd74d12c8',
  75. 'sign': key,
  76. 't': t
  77. }}))
  78. let data = html.data.list
  79. let d = []
  80. data.forEach(it=>{
  81. let reurl = 'https://www.cfkj86.com/detail/'+it.vodId
  82. d.push({
  83. title: it.vodName,
  84. desc:it.vodVersion,
  85. img:it.vodPic,
  86. url:reurl
  87. })
  88. })
  89. setResult(d)
  90. }),
  91. tab_rename:{'金牌影院播放器':'尤东风💠在线播放'},
  92. }