农民影视3.js 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. // 发布页 https://www.nmdvd.com/
  2. var rule={
  3. title:'农民影视3',
  4. tab_rename:{'默认':'线路①','播放':'线路①','滴滴':'线路①'},
  5. //host:'https://www.nmddd.com',
  6. host:'https://www.nmdvd.com/',
  7. hostJs:`print(HOST);let html=request(HOST,{headers:{"User-Agent":MOBILE_UA}});
  8. let src = jsp.pdfh(html,"body&&a:eq(1)&&href")||jsp.pdfh(html,"body&&a:eq(1)&&Text");
  9. if(!src.startsWith('http')){src='https://'+src};print("抓到主页:"+src);HOST=src`,
  10. url:'/vod-list-id-fyfilter.html',
  11. // /vod-list-id-2-pg-1-order--by-time-class-0-year-2023-letter--area--lang-.html
  12. filterable:1,//是否启用分类筛选,
  13. filter_url:'{{fl.cateId}}-pg-fypage-order--by-{{fl.by or "time"}}-class-0-year-{{fl.year}}-letter-{{fl.letter}}-area-{{fl.area}}-lang-',
  14. filter: 'H4sIAAAAAAAAA+2Z304TQRyF32WvuZjZtjNT3sBnMFxUbCJRMQE0IYRELQgtCmqkFSz+iZaWiFICIbIIfZnulr6FW7o756CJMeFKMnf9ndOdnW9osl+WOU96ozfnvLvFWW/UGy/MFG/c9ka8ycL9Yjz39k/C9yvx/Khw72Hx4ouTcRwutvql1iCOB+nNjyRxpdU9rffKS0mTQ1Oth+UmGmWb3vJ+VFpEo9E0X4XHJ2iMbaInL6PHVTR53KfcvLSaFLho+W03KFOFfUelSvR0kypsL2wsXdqEjPc3NiiH51WYKhZwWmG9HT4P/n5aWPlLs7/xLEmTIe362xvRj72kSwZ73Vo7Oj5LrxsO9sjOVsN3p0mXDHbNDzvoksEeQK0R1XeTLhlsd9DGdclgu2o7rHwMtz6ltZ3tXXd2o63GeaPTDTbTe3NkqV60w2A7pRoOaXe+so8dJAN2t867W+cu3kq00omPNl3WznblRqe39q1X3kgXt3P6jW5noXdai6rpHwOzvcviUfi9lN5iOPBPZLZYmKKfyPFh9+TzP/5EfOFnkuziI+U+cp9ziVxyLpALymXe5jLPuUFuONfINecKueI8hzzHeRZ5lnPwSuaV4JXMK8ErmVeCVzKvAK9gXgFewbwCvIJ5BXgF8wrwCuYV4BXMK8ArmFeAVzCvAK9gXgFeAV6Zz6e8Fx8pN8gN5xq55lwhV5znkOc4zyLPcp5BnuHcR+5zLpFLzgVy5jXgNcxrwGuY14DXMK8Br2FeA17DvAa8hnkNeA3zGvAa5jXgNcxrwGuYV4NXM68Gr2ZeDV7NvBq8mnk1eDXzavBq5tXg1cyrwauZV4NXM68Gr2ZeBV7FvAq8inkVeBXzKvAq5lXgVcyrwKuYV4FXMa8Cr2JeBV7FvAq88Ud+fNyaxcMjWn0dBmt/PDyi2lG/dpgsMDMRf9U+vYIgar9JmjsTM9N48u0thMupfUyPP5gqDu46NuL5V7RB0MaP4m7QjI0sRUMV+8zAXA7aaYWzi+1jICe4Cscd7TYHToMq51zMuZhzMedizsWcizkXcy52zVwsQy7m7MbZjbMbZzfObpzdOLtxdvP/2032im+acDphpRX9/EovhsxvFf3/Lu/eGTmrclblrMpZlbMqZ1XOqq6ZVfnKvTRyeuP0xumN0xunN05vnN5cI72Z/wVNTNQhri4AAA==',
  15. filter_def:{
  16. 1:{cateId:'1'},
  17. 2:{cateId:'2'},
  18. 3:{cateId:'3'},
  19. 4:{cateId:'4'},
  20. 26:{cateId:'26'}
  21. },
  22. searchUrl:'/index.php?m=vod-search&wd=**',
  23. searchable:2,//是否启用全局搜索,
  24. headers:{//网站的请求头,完整支持所有的,常带ua和cookies
  25. 'User-Agent': 'MOBILE_UA',
  26. },
  27. // class_parse: '#topnav li:lt(4);a&&Text;a&&href;.*/(.*?).html',
  28. class_name:'电影&连续剧&综艺&动漫&短剧',//静态分类名称拼接
  29. class_url:'1&2&3&4&26',//静态分类标识拼接
  30. play_parse: true,
  31. lazy:`js:
  32. input = {
  33. parse:1,
  34. url:input,
  35. js:'try{location.href = document.querySelectorAll("iframe")[1].src;}catch(err) {}document.querySelector(".line").click()',
  36. }
  37. `,
  38. limit:6,
  39. 推荐:'.globalPicList .resize_list;*;img&&data-src;*;*',
  40. 一级:'.globalPicList li;.sTit&&Text;img&&src;.sBottom--em&&Text;a&&href',
  41. 二级:{
  42. "title":".title&&Text;.type-title&&Text",
  43. "img":".page-hd&&img&&src",
  44. "desc":".desc_item:eq(3)&&Text;.desc_item:eq(4)--span&&Text;;.desc_item:eq(1)--span&&Text;.desc_item:eq(2)--span&&Text",
  45. "content":".detail-con p&&Text",
  46. "tabs":".hd",
  47. "lists":".numList:eq(#id) li"
  48. },
  49. 搜索:'.ulPicTxt.clearfix li;*;img&&data-src;.sDes:eq(1)&&Text;*',
  50. }