开眼视频.js 1.2 KB

1234567891011121314151617181920212223
  1. var rule = {
  2. title:'开眼视频',
  3. host:'http://baobab.kaiyanapp.com:80',
  4. url:'/api/v5/index/tab/feed?udid=ecab2cc100f540e482c5f7db5542a33cc5a908bc&vc=591&vn=6.2.1&size=1080X2340&deviceModel=HLK-AL00&first_channel=eyepetizer_zhihuiyun_market&last_channel=eyepetizer_zhihuiyun_market&system_version_code=29',
  5. searchUrl:'',
  6. searchable:0,
  7. quickSearch:0,
  8. filterable:0,
  9. headers:{
  10. 'User-Agent':'MOBILE_UA'
  11. },
  12. class_name:'今日开眼精选',//静态分类名称拼接
  13. class_url:'/',//静态分类标识拼接
  14. timeout:5000,
  15. play_parse:true,
  16. pagecount:{"/":1},
  17. lazy:"js:input=JSON.parse(request(input)).playUrl+'&_t=.m3u8'",
  18. limit:6,
  19. 推荐:'',
  20. 一级:"js:var s=request(input);var json={};eval('json='+s);var next=json.nextPageUrl;var s2=fetch(next,{});var j2={};eval('j2='+s2);for(var i=0;i<j2.itemList.length;i++){json.itemList.push(j2.itemList[i])}var d=[];for(var i=0;i<json.itemList.length;i++){var j=json.itemList[i];if(j.type!='followCard')continue;var r={};r.pic_url=j.data.content.data.cover.feed;r.title=j.data.content.data.title;r.desc=j.data.header.description;r.url='https://baobab.kaiyanapp.com/api/v1/video/'+j.data.header.id+'?f=web';d.push(r)}setResult(d);",
  21. 二级:'*',
  22. 搜索:'',
  23. }