西瓜影院.js 861 B

12345678910111213141516171819202122232425262728
  1. Object.assign(muban.首图2.二级, {
  2. "tabs": ".nav-tabs&&li",
  3. });
  4. var rule = {
  5. 模板: '首图2',
  6. title: '西瓜影院',
  7. host: 'https://www.xigua1100.com',
  8. url: '/show/fyclass--------fypage---.html',
  9. searchUrl: '/index.php/rss/index.xml?wd=**',
  10. 搜索: $js.toString(() => {
  11. let html = request(input);
  12. let items = pdfa(html, 'rss&&item');
  13. // log(items);
  14. let d = [];
  15. items.forEach(it => {
  16. it = it.replace(/title|link|author|pubdate|description/g, 'p');
  17. let url = pdfh(it, 'p:eq(1)&&Text');
  18. d.push({
  19. title: pdfh(it, 'p&&Text'),
  20. url: url,
  21. desc: pdfh(it, 'p:eq(3)&&Text'),
  22. content: pdfh(it, 'p:eq(2)&&Text'),
  23. pic_url: "",
  24. });
  25. });
  26. setResult(d);
  27. }),
  28. }