七新电影网.js 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. Object.assign(muban.首图2.二级, {
  2. tabs: '.stui-pannel_hd h3',
  3. });
  4. var rule = {
  5. title: '七新电影网',
  6. 模板: '首图2',
  7. host: 'http://www.7xdy.com',
  8. // url:'/fyclass/indexfypage.html[/fyclass/index.html]',
  9. url: '/fyfilter/indexfypage.html[/fyfilter/index.html]',
  10. filterable: 1,//是否启用分类筛选,
  11. filter_url: '{{fl.cateId}}',
  12. tab_exclude: '本周热门|最近更新',
  13. filter: 'H4sIAAAAAAAAA6tWSslMzKvMzEsvANJKVtHVStmplUpWSsmJJameKUo6SnmJualA/tOOtucbdwP5ZYk5palghXkg4dYVL5tXgISBHBSjanWgKrpWPNk753lnO0xRfl56VWk+iprnHRufNbci1CRmFqIb83z5xKc7dyOUZKdmlCbmoSh51jjhWcM0JCVAm5JKUR0zbc7TzuUIJRWZWagKXqzb8HTvVISCrMwcNBM6l6M4NasU4dTY2lgdcCAUZwDNpUJgQsyBWz1775Ndy4EOgKpIL81PzkjMQ1LxbMf6p/0bECpKEvPSSxKRzXi2ZvnzfX0IFfmluako8tOXvpy/EiFflIlqw/P5axGSKaUQOaC/awEa2+pBSQIAAA==',
  14. filter_def: {
  15. dianyingpian: {cateId: 'dianyingpian'},
  16. dianshiju: {cateId: 'dianshiju'},
  17. zongyi: {cateId: 'zongyi'},
  18. dongman: {cateId: 'dongman'}
  19. },
  20. lazy: $js.toString(() => {
  21. // 屏蔽图片onerror无限请求问题
  22. // let init_js = `
  23. // var imgTimer = setInterval(function(){
  24. // if(typeof($)!='undefined'){
  25. // let css = $('.lazyload[alt="成人深夜福利"]');
  26. // if(css.length > 0){
  27. // css.attr('onerror','this.onerror=null');
  28. // clearInterval(imgTimer);
  29. // }
  30. // }
  31. // },200);
  32. // `;
  33. let init_js = `Object.defineProperties(navigator, {platform: {get: () => 'iPhone'}});`;
  34. input = {
  35. parse: 1,
  36. url: input,
  37. js: '',
  38. parse_extra: '&init_script=' + encodeURIComponent(base64Encode(init_js)),
  39. }
  40. }),
  41. // searchUrl:'/search.php?page=fypage&searchword=**&searchtype=',
  42. searchUrl: '/search.php#searchword=**;post',
  43. class_parse: '.stui-tou__menu li:gt(0):lt(7);a&&Text;a&&href;.*/(.*?)/.*html',
  44. }