思古影视.js 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. var rule = {
  2. 类型: '影视',
  3. title: '思古影视',
  4. host: 'https://siguyy.cn',
  5. url: '/show/fyclass--------fypage---/',
  6. searchUrl: 'https://siguyy.cn/search/-------------/?wd=**',
  7. searchable: 2,
  8. quickSearch: 0,
  9. timeout: 5000,
  10. play_parse: true,
  11. filterable: 0,
  12. class_name: '电影&电视剧&综艺&动漫',
  13. class_url: '1&2&3&4',
  14. lazy: `js:
  15. if(/\\.(m3u8|mp4)/.test(input)){
  16. input = {parse:0,url:input}
  17. }else{
  18. if(rule.parse_url.startsWith('json:')){
  19. let purl = rule.parse_url.replace('json:','')+input;
  20. let html = request(purl);
  21. input = {parse:0,url:JSON.parse(html).url}
  22. }else{
  23. input= rule.parse_url+input;
  24. }
  25. `,
  26. headers: {
  27. "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0",
  28. },
  29. 推荐: '*',
  30. 一级: '.container .flex.desktop-hover-effect;span&&Text;img&&data-original;p.truncate&&Text;a&&href',
  31. 二级: {
  32. title: '.p-3.mobile&&Text',
  33. img: 'img&&data-original',
  34. desc: '.text-sm.py-1&&Text',
  35. content: '.text-secondary&&Text',
  36. tabs: '.flex.flex-row.gap-1.items-center',
  37. lists: '.flex.flex-column.overflow-auto.no-scrollbar&&li',
  38. tab_text: 'body&&Text',
  39. list_text: 'a&&Text',
  40. list_url: 'a&&href',
  41. },
  42. double: false,
  43. 搜索: '.col-lg-6.col-md-12.mt-2.mb-2.cursor-pointer;.topic-details-title-sub.text-secondary&&Text;img&&data-original;.topic-details-title&&Text;a&&href',
  44. }