Add files via upload

This commit is contained in:
gaotianliuyun
2022-12-17 21:06:17 +08:00
committed by GitHub
parent 9668bd3401
commit 302c0f4b70
6 changed files with 71 additions and 45 deletions

View File

@@ -1,27 +1,9 @@
muban.首图.二级.desc = ';;;.data:eq(2)&&Text;.data:eq(3)&&Text';
var rule = {
title:'539影院',
host:'https://539539.xyz',
// homeUrl:'/',
url:'/vodtype/fyclass/page/fypage.html',
headers:{
'User-Agent':'MOBILE_UA',
"Cookie": "searchneed=ok"
},
searchUrl:'/vodsearch/wd/**/page/fypage.html',
searchable:2,
// class_name:'电影&网剧&剧集&动漫&综艺&记录',
// class_url:'20&1&2&3&4&23',
class_parse:'.stui-header__menu li:gt(0):lt(5);a&&Text;a&&href;/(\\d+).html',
play_parse:true,
// lazy:'干饭',
// lazy:'@js:cacheUrl = d.getParse(input);print(cacheUrl);input=cacheUrl',
// lazy:'js:cacheUrl = d.getParse(input);print(cacheUrl);input=cacheUrl',
// lazy:'js:cacheUrl=d.getParse(input);if(cacheUrl){input=cacheUrl}else{try{let html=fetch(input,{headers:d.headers,timeout:d.timeout,encoding:d.encoding});let ret=html.match(/var player_(.*?)=(.*?)</)[2];let url=JSON.parse(ret).url;if(url.length>10){real_url="https://player.buyaotou.xyz/?url="+url;d.saveParse(input,real_url);input=real_url}}catch(e){print("网络请求发生错误:"+e.message)}}',
//lazy:'js:cacheUrl=getParse(input);if(cacheUrl){input=cacheUrl}else{try{let html=fetch(input,fetch_params);let ret=html.match(/var player_(.*?)=(.*?)</)[2];let url=JSON.parse(ret).url;if(url.length>10){real_url="https://player.buyaotou.xyz/?url="+url;saveParse(input,real_url);input=real_url}}catch(e){print("网络请求发生错误:"+e.message)}}',
limit:5,
推荐:'ul.stui-vodlist.clearfix;li;a&&title;.lazyload&&data-original;.pic-text.text-right&&Text;a&&href',
double:true, // 推荐内容是否双层定位
一级:'body .stui-vodlist__box;a&&title;.lazyload&&data-original;.pic-text.text-right&&Text;a&&href',
二级:{"title":"h1.title&&Text;.stui-content__detail p:eq(1)&&Text","img":".lazyload&&data-original","desc":".stui-content__detail p:eq(-3)&&Text;.stui-content__detail p:eq(-2)&&Text","content":".stui-content__detail p.detail&&Text","tabs":".stui-vodlist__head h3","lists":".stui-vodlist__head:eq(#id)&&.stui-content__playlist li"},
搜索:'.stui-vodlist.clearfix&&ul&&li;h4&&Text;.stui-vodlist__thumb&&data-original;.stui-vodlist__thumb.lazyload&&.pic-text.text-right&&Text;a&&href',
}
title:'539影院',
模板:'首图',
host:'https://539539.xyz',
url:'/vodtype/fyclass/page/fypage.html',
searchUrl:'/vodsearch.html?wd=**&submit=',
class_parse:'.myui-header__menu li.visible-inline-lg:lt(6);a&&Text;a&&href;/vodtype/(\\d).html',
}