看韩剧.js 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. muban.首图.二级.title = 'h1&&Text;.data--span:eq(5)&&Text';
  2. muban.首图.二级.desc = '.data:eq(4)&&Text;;;.data--span:eq(3)&&Text;.data--span:eq(2)&&Text';
  3. var rule={
  4. title:'看韩剧',
  5. 模板:'首图',
  6. // host:'https://www.kan.cc',
  7. // host:'https://www.kangii.com',
  8. host:'https://cc.kan.cc',
  9. url:'/search.html?page=fypage&searchtype=5&tid=fyclassfyfilter',
  10. filterable:1,//是否启用分类筛选,
  11. filter_url:'&order={{fl.by or "time"}}&year={{fl.year}}',
  12. filter:{
  13. "1":[{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2023","v":"2023"},{"n":"2022","v":"2022"},{"n":"2021","v":"2021"},{"n":"2020","v":"2020"},{"n":"2019","v":"2019"},{"n":"2018","v":"2018"},{"n":"2017","v":"2017"},{"n":"2016","v":"2016"},{"n":"2015","v":"2015"},{"n":"2014","v":"2014"},{"n":"2013","v":"2013"},{"n":"2012","v":"2012"},{"n":"2011","v":"2011"},{"n":"2010","v":"2010"},{"n":"more","v":"more"}]},{"key":"by","name":"排序","value":[{"n":"时间","v":"time"},{"n":"人气","v":"hit"},{"n":"评分","v":"commend"}]}],
  14. "2":[{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2023","v":"2023"},{"n":"2022","v":"2022"},{"n":"2021","v":"2021"},{"n":"2020","v":"2020"},{"n":"2019","v":"2019"},{"n":"2018","v":"2018"},{"n":"2017","v":"2017"},{"n":"2016","v":"2016"},{"n":"2015","v":"2015"},{"n":"2014","v":"2014"},{"n":"2013","v":"2013"},{"n":"2012","v":"2012"},{"n":"2011","v":"2011"},{"n":"2010","v":"2010"},{"n":"more","v":"more"}]},{"key":"by","name":"排序","value":[{"n":"时间","v":"time"},{"n":"人气","v":"hit"},{"n":"评分","v":"commend"}]}],
  15. "3":[{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2023","v":"2023"},{"n":"2022","v":"2022"},{"n":"2021","v":"2021"},{"n":"2020","v":"2020"},{"n":"2019","v":"2019"},{"n":"2018","v":"2018"},{"n":"2017","v":"2017"},{"n":"2016","v":"2016"},{"n":"2015","v":"2015"},{"n":"2014","v":"2014"},{"n":"2013","v":"2013"},{"n":"2012","v":"2012"},{"n":"2011","v":"2011"},{"n":"2010","v":"2010"},{"n":"more","v":"more"}]},{"key":"by","name":"排序","value":[{"n":"时间","v":"time"},{"n":"人气","v":"hit"},{"n":"评分","v":"commend"}]}]
  16. },
  17. searchUrl:'/search.html?page=fypage&searchword=**&submit=submit',
  18. headers:{
  19. "User-Agent":"MOBILE_UA",
  20. "Cookie":"_funcdn_token=15ecdee338f7976141723bc370d27780861128baf03c8ad523ee358d77eb6848;Hm_lvt_193d42d6df9341f3a303004df15e3f0d=1666062561;_clck=jtnlof|1|f5t|0;_clsk=1qend98|1666062751559|7|1|h.clarity.ms/collect;Hm_lpvt_193d42d6df9341f3a303004df15e3f0d=1666062756"
  21. },
  22. // class_parse:'.myui-header__menu&&li:gt(0):lt(6);a--span&&Text;a&&href;/(.*?)/',
  23. class_parse:'div.myui-panel__head.clearfix;h2&&Text;a&&href;.*/(\\d+).html',
  24. lazy:`js:
  25. pd = jsp.pd;
  26. var html = pd(request(input), 'iframe&&src');
  27. try {
  28. var url = request(html).match(/r url = '(.*?)'/)[1];
  29. } catch (e) {
  30. var url = pd(request(html), 'iframe&&src');
  31. }
  32. if (/m3u8|mp4/.test(url)) {
  33. input = url
  34. } else if (/share/.test(url)) {
  35. var purl = JSON.parse(request(url).match(/playlist = '\\[(.*?)\\]'/)[1]).url;
  36. input = urljoin2(url, purl)
  37. } else {
  38. input
  39. }
  40. `,
  41. 搜索: '.myui-vodlist__media.clearfix li;a&&title;.lazyload&&data-original;.pic-text&&Text;a&&href;.text-muted:eq(-1)&&Text',
  42. }