dydhhy.js 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. var rule = {
  2. title: 'dydhhy',
  3. host: 'http://www.dydhhy.com',
  4. homeUrl: '/',
  5. url: '/tag/fyclass/page/fypage?',
  6. filter_url: '{{fl.class}}',
  7. filter: {},
  8. searchUrl: '/?s=**',
  9. searchable: 2,
  10. quickSearch: 1,
  11. filterable: 0,
  12. headers: {
  13. 'User-Agent': 'MOBILE_UA',
  14. 'Cookie': ''
  15. },
  16. timeout: 5000,
  17. class_name: '电视剧&电影&美剧&韩剧&日剧&英剧&2023&2022&2021',
  18. class_url: 'tv&movie&美剧&韩剧&日剧&英剧&2023&2022&2021',
  19. play_parse: true,
  20. play_json: [{
  21. re: '*',
  22. json: {
  23. parse: 0,
  24. jx: 0
  25. }
  26. }],
  27. lazy:`js:
  28. input = panPlay(input,playObj.flag)
  29. `,
  30. limit: 6,
  31. 推荐: 'div.clear:gt(1):has(img);.entry-title&&Text;img&&src;;a&&href',
  32. 一级: 'div.clear:gt(1):has(img);.entry-title&&Text;img&&src;;a&&href',
  33. 二级: {
  34. title: ".single-excerpt&&Text",
  35. img: "img&&src",
  36. desc: ".entry-date&&Text",
  37. content: "p&&Text",
  38. tabs: `js: pdfh = jsp.pdfh;
  39. pdfa = jsp.pdfa;
  40. pd = jsp.pd;
  41. TABS=[]
  42. let d = pdfa(html, 'fieldset p a');
  43. let listurl = [];
  44. d.forEach(function(it) {
  45. let burl = pdfh(it, 'a&&href');
  46. if (burl.startsWith("https://www.aliyundrive.com/s/") || burl.startsWith("https://www.alipan.com/s/")){
  47. listurl.push(burl);
  48. }else if (burl.startsWith("https://pan.quark.cn/s/")){
  49. listurl.push(burl);
  50. }
  51. });
  52. if (listurl.length){
  53. initPan();
  54. let alistVod = panDetailContent(vod ,listurl);
  55. TABS = alistVod.tabs
  56. LISTS = alistVod.lists
  57. detailError = alistVod.error
  58. }
  59. `,
  60. lists: `js:`,
  61. }, 搜索: 'div.clear:gt(0):has(img);img&&alt;img&&src;;a&&href',
  62. }