熊猫影视.js 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. var rule={
  2. title:'熊猫影视',
  3. host:'https://www.pandavod.com/',
  4. // homeUrl:'/',
  5. //url:'/list/fyclass/page/fypage.html',
  6. searchUrl:'/vodsearch/page/fypage/wd/**.html',
  7. searchable:2,//是否启用全局搜索,
  8. quickSearch:0,//是否启用快速搜索,
  9. url:'/vodshow/fyfilter/page/fypage.html',
  10. filterable:1,//是否启用分类筛选,
  11. filter_url:'{{fl.cateId}}',
  12. filter: {"dianying":[{"key":"cateId","name":"类型","value":[{"n":"全部","v":"dianying"},{"n":"动作片","v":"dongzuopian"},{"n":"喜剧片","v":"xijupian"},{"n":"爱情片","v":"aiqingpian"},{"n":"战争片","v":"zhanzhengpian"},{"n":"惊悚片","v":"jingsongpian"},{"n":"犯罪片","v":"fanzuipian"},{"n":"冒险片","v":"maoxianpian"},{"n":"科幻片","v":"kehuanpian"},{"n":"恐怖片","v":"kongbupian"},{"n":"剧情片","v":"juqingpian"},{"n":"动画片","v":"donghuapian"},{"n":"悬疑片","v":"xuanyipian"},{"n":"武侠片","v":"wuxiapian"},{"n":"纪录片","v":"jilupian"},{"n":"伦理片","v":"lunlipian"},{"n":"网络电影","v":"wangluodianying"},{"n":"其他片","v":"qitapian"}]}],"lianxuju":[{"key":"cateId","name":"类型","value":[{"n":"全部","v":"lianxuju"},{"n":"国产剧","v":"guochanju"},{"n":"欧美剧","v":"oumeiju"},{"n":"台湾剧","v":"taiwanju"},{"n":"日本剧","v":"ribenju"},{"n":"韩国剧","v":"hanguoju"},{"n":"香港剧","v":"xianggangju"},{"n":"泰国剧","v":"taiguoju"},{"n":"海外剧","v":"haiwaiju"}]}],"zongyi":[{"key":"cateId","name":"类型","value":[{"n":"全部","v":"zongyi"},{"n":"大陆综艺","v":"daluzongyi"},{"n":"港台综艺","v":"gangtaizongyi"},{"n":"日韩综艺","v":"rihanzongyi"},{"n":"欧美综艺","v":"oumeizongyi"}]}],"dongman":[{"key":"cateId","name":"类型","value":[{"n":"全部","v":"dongman"},{"n":"国产动漫","v":"guochandongman"},{"n":"日韩动漫","v":"rihandongman"},{"n":"欧美动漫","v":"oumeidongman"},{"n":"港台动漫","v":"gangtaidongman"},{"n":"海外动漫","v":"haiwaidongman"}]}]},
  13. filter_def:{
  14. dianying:{cateId:'dianying'},
  15. lianxuju:{cateId:'lianxuju'},
  16. zongyi:{cateId:'zongyi'},
  17. dongman:{cateId:'dongman'},
  18. tiyu:{cateId:'tiyu'}
  19. },
  20. headers:{//网站的请求头,完整支持所有的,常带ua和cookies
  21. 'User-Agent':'MOBILE_UA',
  22. // "Cookie": "searchneed=ok"
  23. },
  24. class_name:'电影&电视剧&综艺&动漫&体育',
  25. class_url:'dianying&lianxuju&zongyi&dongman&tiyu',
  26. lazy:'',
  27. limit:6,
  28. double:true, // 推荐内容是否双层定位
  29. // 推荐:'.module-item;a&&title;.lazyloaded&&data-src;.module-item-text&&Text;a&&href',
  30. 推荐:'.module-items:eq(0);.module-item;a&&title;.lazyloaded&&data-src;.module-item-text&&Text;a&&href',
  31. 一级:'.module-item;a&&title;.lazyloaded&&data-src;.module-item-text&&Text;a&&href',
  32. 二级:{
  33. "title":"h1&&Text;.video-info-header&&Text",
  34. "img":".lazyload&&data-src",
  35. // "desc":".video-info-items:eq(1)&&Text;.video-info-items:eq(2)&&Text;.video-info-items:eq(3)&&Text",
  36. "desc":";;;.video-info-main .video-info-actor:eq(1)&&Text;.video-info-main .video-info-actor:eq(0)&&Text",
  37. "content":".vod_content&&Text",
  38. "tabs":".module-tab-item",
  39. "lists":".sort-item:eq(#id) a"
  40. },
  41. 搜索:'.module-items;.lazyload&&alt;.lazyload&&data-src;.video-serial&&Text;*',
  42. }