tuxiaobei.js 1009 B

1234567891011121314151617181920212223242526
  1. var rule = {
  2. title:'兔小贝',
  3. host:'https://www.tuxiaobei.com',
  4. homeUrl:'',
  5. url:'/list/mip-data?typeId=fyclass&page=fypage&callback=',
  6. detailUrl:'/play/fyid',
  7. searchUrl:'/search/index?key=**',
  8. searchable:2,
  9. headers:{
  10. 'User-Agent':'MOBILE_UA'
  11. },
  12. timeout:5000,
  13. class_url:'2&3&4&25',
  14. class_name:'儿歌&故事&国学&启蒙',
  15. //class_name:'#page-viewport&&ul&&li;.text&&Text;a&&href;/(.*)',
  16. cate_exclude:'应用',
  17. 推荐:'.pic-list.list-box;.items;.text&&Text;mip-img&&src;.all&&Text;a&&href',
  18. double:true,
  19. limit:5,
  20. play_parse:true,
  21. lazy:'js:fetch_params.headers["user-agent"] = IOS_UA;let html=fetch(input,fetch_params);let src = jsp.pdfh(html,"body&&#videoWrap&&video-src");input=src;',
  22. // 一级:'json:data.items;name;image;collect_num;category_id+video_id',
  23. 一级:'json:data.items;name;image;duration_string;video_id',
  24. 二级:'*',
  25. 搜索:'.list-con&&.items;.text&&Text;mip-img&&src;.time&&Text;a&&href',
  26. }