奇优影院.js 1.9 KB

123456789101112131415161718192021222324252627282930313233
  1. // 网址发布页 www.qiyoudy.info
  2. muban.首图2.二级.title = 'h1&&Text;.data--span:eq(0)&&Text';
  3. muban.首图2.二级.desc = '.data.hidden-sm&&Text;;;p.line1--span&&Text;.data--span:eq(1)&&Text';
  4. muban.首图2.二级.content = '.desc--span&&Text';
  5. muban.首图2.二级.tabs = '.nav-tabs a';
  6. var rule = {
  7. title:'奇优影院',
  8. 模板:'首图2',
  9. host:'http://1e6e.com',
  10. // url:'/list/fyclass_fypage.html',
  11. url:'/list/fyclass_fypage.html?order=fyfilter',
  12. filterable:1,//是否启用分类筛选,
  13. filter_url:'{{fl.by}}',
  14. filter:{
  15. "1":[{"key":"by","name":"排序","value":[{"n":"按时间","v":"time"},{"n":"按人气","v":"hit"}]}],
  16. "2":[{"key":"by","name":"排序","value":[{"n":"按时间","v":"time"},{"n":"按人气","v":"hit"}]}],
  17. "3":[{"key":"by","name":"排序","value":[{"n":"按时间","v":"time"},{"n":"按人气","v":"hit"}]}],
  18. "4":[{"key":"by","name":"排序","value":[{"n":"按时间","v":"time"},{"n":"按人气","v":"hit"}]}],
  19. "6":[{"key":"by","name":"排序","value":[{"n":"按时间","v":"time"},{"n":"按人气","v":"hit"}]}]
  20. },
  21. filter_def:{
  22. 1:{by:'time'},
  23. 2:{by:'time'},
  24. 3:{by:'time'},
  25. 4:{by:'time'},
  26. 6:{by:'time'}
  27. },
  28. class_parse: '.stui-header__menu li:gt(0):lt(5);a&&Text;a&&href;.*/(.*?).html',
  29. // searchUrl:'/search.php;**',
  30. searchUrl:'/search.php#searchword=**;post',
  31. // 搜索:'js:let url=input.split(";")[0];let d=[];let body={searchword:input.split(";")[1]};body="searchword="+input.split(";")[1];fetch_params.body=body;let html=post(url,fetch_params);let pdfa=jsp.pdfa;let pdfh=jsp.pdfh;let pd=jsp.pd;let lists=pdfa(html,"ul.stui-vodlist__media&&li");lists.forEach(function(it){d.push({title:pdfh(it,".title&&Text"),url:pd(it,"a&&href"),desc:pdfh(html,".pic-text&&Text"),pic_url:pd(html,".lazyload&&data-original")})});setResult(d);',
  32. //搜索:'li.stui-vodlist__item;a&&title;a&&data-original;.pic-text&&Text;a&&href'
  33. }