骚火电影.js 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. // 搜索验证 -> drpy_ocr自动过搜索验证失败
  2. var rule={
  3. title:'骚火电影',
  4. // host:'https://shdy3.com',
  5. host:'http://shapp.us',
  6. hostJs:'print(HOST);let html=request(HOST,{headers:{"User-Agent":PC_UA}});let src=jsp.pdfh(html,"a:eq(2)&&href");print(src);HOST=src',
  7. // url:'/list/fyclass-fypage.html',
  8. url:'/list/fyfilter-fypage.html',
  9. filterable:1,//是否启用分类筛选,
  10. filter_url:'{{fl.cateId}}',
  11. filter: {
  12. "1":[{"key":"cateId","name":"类型","value":[{"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":"13","n":"动画"},{"v":"14","n":"奇幻"},{"v":"15","n":"剧情"},{"v":"16","n":"冒险"},{"v":"17","n":"悬疑"},{"v":"18","n":"惊悚"},{"v":"19","n":"其它"}]}],
  13. "2":[{"key":"cateId","name":"类型","value":[{"v":"2","n":"全部"},{"v":"20","n":"大陆"},{"v":"21","n":"TVB"},{"v":"22","n":"韩剧"},{"v":"23","n":"美剧"},{"v":"24","n":"日剧"},{"v":"25","n":"英剧"},{"v":"26","n":"台剧"},{"v":"27","n":"其它"}]}],
  14. "4":[{"key":"cateId","name":"类型","value":[{"v":"4","n":"全部"},{"v":"38","n":"搞笑"},{"v":"39","n":"恋爱"},{"v":"40","n":"热血"},{"v":"41","n":"格斗"},{"v":"42","n":"美少女"},{"v":"43","n":"魔法"},{"v":"44","n":"机战"},{"v":"45","n":"校园"},{"v":"46","n":"亲子"},{"v":"47","n":"童话"},{"v":"48","n":"冒险"},{"v":"49","n":"真人"},{"v":"50","n":"LOLI"},{"v":"51","n":"其它"}]}],
  15. // "28":[{"key":"cateId","name":"综艺","value":[{"v":"28","n":"脱口秀"},{"v":"29","n":"真人秀"},{"v":"30","n":"选秀"},{"v":"31","n":"美食"},{"v":"32","n":"旅游"},{"v":"33","n":"汽车"},{"v":"34","n":"访谈"},{"v":"35","n":"纪实"},{"v":"36","n":"搞笑"},{"v":"37","n":"其它"}]}]
  16. },
  17. filter_def:{
  18. 1:{cateId:'1'},
  19. 2:{cateId:'2'},
  20. 4:{cateId:'4'}
  21. // 28:{cateId:'28'}
  22. },
  23. searchUrl:'/search.php?page=fypage&searchword=**&searchtype=',
  24. searchable:2,
  25. quickSearch:0,
  26. headers:{'User-Agent':'MOBILE_UA', },
  27. timeout:5000,//网站的全局请求超时,默认是3000毫秒
  28. class_name:'电影&电视剧&动漫',
  29. class_url:'1&2&4',
  30. play_parse:true,
  31. lazy:`js:
  32. pdfh = jsp.pdfh;
  33. pdfa = jsp.pdfa;
  34. pd = jsp.pd;
  35. var html = pd(request(input), 'iframe&&src');
  36. var apiurl = '';
  37. if (/api\\.hhplayer/.test(html)) {
  38. apiurl = 'https://api.hhplayer.com/api.php';
  39. } else if (/hkjx\\.hhplayer/.test(html)) {
  40. apiurl = 'https://hkjx.hhplayer.com/api.php';
  41. } else if (/play\\.hhplayer/.test(html)) {
  42. apiurl = 'https://play.hhplayer.com/hhjx/api.php';
  43. }
  44. var url = '';
  45. var t = '';
  46. var key = '';
  47. eval(pdfh(request(html), 'body&&script,0&&Html').split('var act')[0].replaceAll('var ', ''));
  48. var purl = JSON.parse(request(apiurl, {
  49. headers: {
  50. 'Referer': html
  51. },
  52. body: 'url=' + url + '&t=' + t + '&key=' + key + '&act=0&play=1',
  53. method: 'POST'
  54. })).url;
  55. input = {
  56. jx: 0,
  57. url: /http/.test(purl) ? purl: 'https://api.hhplayer.com' + purl,
  58. parse: 0
  59. }
  60. `,
  61. 推荐:'.v_list,0&&li;*;*;*;*',
  62. 一级:'.v_list li;a&&title;.lazyload&&data-original;.v_note&&Text;a&&href',
  63. 二级:{
  64. "title":"h1&&Text;",
  65. "img":".m_background&&style",
  66. "desc":";;;.v_info_box&&p&&Text",
  67. "content":".p_txt.show_part&&Text",
  68. "tabs":".from_list&&li",
  69. "lists":"#play_link&&li:eq(#id)&&a"
  70. },
  71. 搜索:'*',
  72. }