看呀看.js 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. var rule = {
  2. title: "看呀看",
  3. host: "https://kankan-tv.com",
  4. url: "/fyclass/fyfilter",
  5. searchUrl: "",
  6. searchable: 1,
  7. quickSearch: 0,
  8. filterable: 1,
  9. filter: "H4sIAAAAAAAAAO1WXU8aQRT9L/vY8DCD9QP/SuMDDzyQVkyqJWkMiUpEFmmRxtCixL7UrlpaMP0IsMKvYXflX3R1du89F+2LvtiEtz3nnp2ZM3vnzG5aq2v5bGbdWn6xab3MvLWWreDS9U72rYSVS69mEOfTr95kboW5kPbtLb9le8PLwN67KYbUM6uQMEXPdvziLlcYk6JyNh62QEGYFKUPk+Y5KAiT4qDqbzmgIEyKRiucGhSESXG65/VdUBCOFf72gb/VYAVjUuy0g0YdFIRJUaz4O0egIBwrgu3R5GjECsakKF+KPWVMikonGF6AgjApnLpwyxi+S3DoBoe/wy/Ln4YpcvS9el0+AUeESVH+NB7YoCBMq3Fr3m4PVkOYFMN64LbEagRVWLlRmr71Wl2vOuC+JXxv31JR9K3fdoLR+3jBBtDOfHEmzVK8JwbEtcnXpt/rRLUI0JgfT/1WOx7TAHrv87l3PIzfM4Dmq3X9/iiezwAas9GdnNOYBlDtZ5fHjACNufvH+1GMxzRA7GH/19gdwh7G+N49pKLYw6RKPo/I20fg55ifQz7JfBJ5zbxGXjGvgNcp4sNH4JeYX0J+kflF5BeYX0B+nvl55NmvRr+a/Wr0q9mvRr+a/Wr0q9mvRr+K/Sr0q9ivQr+K/Sr0q9ivQr+K/Sr0q9ivQr+K/Sr0q9ivQr+K/Sr0q9ivEn7VuL/v2e+iqk6lUjfdu5Kw1jOvH3OJ2c7kuHSnkcODMx44YTE+L4TpqPU6XI4AHm2qRQAiAd4zAI8v1wyASIDl1ETNpBW8SliGBigIQzyM3QZMQXgWErOQ+N9DIp8OQ2LjETkRuFfX9t2fBpMLoigoTItaV+gEJX8KhE5Q8sdCjoeUTAapQ0rmQxg5UjrFyqyQrpGaJcaTSYykOBEmN25PRDqXXU1vZNdyD786K2f+1bd//EeLoqBkC0sdUvJICJ2gpq5s1AlKHkU5L1JTF6IYD6lZkz+ZJp9diw+6Fgt/AWk+z+0CEgAA",
  10. filter_url: "{{fl.类型 or '*'}}/{{fl.地区 or '*'}}/{{fl.年份 or '*'}}?page=fypage",
  11. filter_def: {},
  12. headers: {
  13. "User-Agent": "MOBILE_UA"
  14. },
  15. timeout: 5000,
  16. class_parse: ".top-menu a;a&&Text;a&&href;/(\\w+)$",
  17. cate_exclude: "豆瓣",
  18. play_parse: true,
  19. lazy: $js.toString(() => {
  20. let m3u8 = /url:'(.*?)'/g.exec(fetch(input))[1];
  21. input = {parse: 0, url: m3u8};
  22. }),
  23. double: false,
  24. 推荐: "body&&.module:eq(0);*;*;*;*;*",
  25. 一级: ".video-frame;.title&&Text;img&&data-src;.label-remarks&&Text;a&&href",
  26. 二级: {
  27. title: ".title&&Text;tr:eq(4)&&Text",
  28. img: ".lazyload&&data-original",
  29. //主要信息;年代;地区;演员;导演
  30. desc: "tr:eq(7)&&Text;tr:eq(6)&&Text;tr:eq(2)&&Text;tr:eq(0)&&Text;tr:eq(1)&&Text;tr:eq(0)&&Text",
  31. content: ".vod-story&&Text",
  32. tabs: "",
  33. lists: $js.toString(() => {
  34. LISTS = [];
  35. let list = pdfa(html, ".vod-playlist&&option");
  36. if (list.length == 0) {
  37. LISTS.push(["1$" + MY_URL + "/1"])
  38. } else {
  39. list = list.map(it => pdfh(it, 'Text') + "$" + pd(it, 'option&&value', MY_URL));
  40. LISTS.push(list)
  41. }
  42. // log(LISTS);
  43. }),
  44. },
  45. 搜索: "*"
  46. }