ABD.js 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. var rule = {
  2. title: '爱搜',
  3. host: 'https://www.esoua.com/',
  4. hostJs: '',
  5. headers: {
  6. 'User-Agent': 'Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.91 Mobile Safari/537.36',
  7. },
  8. 编码: 'utf-8',
  9. timeout: 5000,
  10. url: 'https://www.esoua.com/search?q=fyclass&format=video&type=BDY&page=fypage',
  11. filter_url: '',
  12. detailUrl: '',
  13. searchUrl: 'https://www.esoua.com/search?q=**&format=video&type=BDY&page=fypage',
  14. searchable: 1,
  15. quickSearch: 1,
  16. filterable: 1,
  17. class_name: '剧集&电影&短剧&动漫&综艺',
  18. class_url: '剧集&电影&短剧&动漫&综艺',
  19. proxy_rule: '',
  20. sniffer: false,
  21. isVideo: '',
  22. play_parse: true,
  23. parse_url: '',
  24. lazy: "js:\n input = 'push://' + input;\n ",
  25. limit: 9,
  26. double: false,
  27. // 推荐: '*',
  28. 一级: 'js:\n let html = fetch(input);\n let list = pdfa(html, "body&&.semi-space-medium-vertical");\n VODS = list.map(x => {\n let remarks = pdfh(x, "div&&img&&alt");\n let vodName = pdfh(x, "div&&a&&title");\n // 过滤条件:迅雷云盘、.txt后缀、空名称\n if(remarks.includes("迅雷云盘") || vodName.endsWith(".txt") || !vodName.trim()) return null;\n return {\n vod_name: vodName,\n vod_pic: "https://yx.aekgame.com/wp-content/uploads/2022/05/e27b-290abe63258be48d86b6676b6b0ba22d.jpg",\n vod_remarks: remarks,\n vod_content: remarks,\n vod_id: pdfh(x, "div&&a&&href")\n };\n }).filter(x => x !== null);\n ',
  29. 二级: {
  30. title: 'h1&&Text',
  31. img: 'img&&src',
  32. desc: '.card-text:eq(2)&&Text;;;;',
  33. content: 'body&&.semi-space-loose-vertical&&a&&href',
  34. tabs: "js:TABS = ['爱搜']",
  35. lists: "js:\n LISTS = [];\n let lists1 = pdfa(html, 'body&&.semi-space-loose-vertical').map(it => {\n let _tt = pdfh(it, 'span&&title');\n let _uu = pdfh(it, 'a&&href');\n return _tt + '$' + _uu;\n });\n LISTS.push(lists1);\n ",
  36. },
  37. 搜索: 'js:\n let html = fetch(input);\n let list = pdfa(html, "body&&.semi-space-medium-vertical");\n VODS = list.map(x => {\n let remarks = pdfh(x, "div&&img&&alt");\n let vodName = pdfh(x, "div&&a&&title");\n // 过滤条件:迅雷云盘、.txt后缀、空名称\n if(remarks.includes("迅雷云盘") || vodName.endsWith(".txt") || !vodName.trim()) return null;\n return {\n vod_name: vodName,\n vod_pic: "https://yx.aekgame.com/wp-content/uploads/2022/05/e27b-290abe63258be48d86b6676b6b0ba22d.jpg",\n vod_remarks: remarks,\n vod_content: remarks,\n vod_id: pdfh(x, "div&&a&&href")\n };\n }).filter(x => x !== null);\n ',
  38. cate_exclude: '首页|留言|APP|下载|资讯|新闻|动态',
  39. tab_exclude: '猜你|喜欢|下载|剧情|榜|评论',
  40. 类型: '影视',
  41. homeUrl: 'https://www.esoua.com/',
  42. 二级访问前: '',
  43. encoding: 'utf-8',
  44. search_encoding: '',
  45. 图片来源: '',
  46. 图片替换: '',
  47. play_json: [],
  48. pagecount: {},
  49. tab_remove: [],
  50. tab_order: [],
  51. tab_rename: {},
  52. }