Add files via upload

This commit is contained in:
dxawi 2023-09-19 15:30:58 +08:00 committed by GitHub
parent 6c9cc0f72f
commit 8065876eb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 6 deletions

View File

@ -5,9 +5,9 @@ muban.首图2.二级.content = '.detail-content&&Text'
var rule = { var rule = {
title:'LIBVIO', title:'LIBVIO',
模板:'首图2', 模板:'首图2',
// host:'https://tv.libvio.cc', host:'https://www.libvio.me',
host:'https://libvio.app', // host:'https://libvio.app',
hostJs:'print(HOST);let html=request(HOST,{headers:{"User-Agent":PC_UA}});let src=jsp.pdfh(html,"li:eq(0)&&a:eq(0)&&href");print(src);HOST=src', // hostJs:'print(HOST);let html=request(HOST,{headers:{"User-Agent":PC_UA}});let src=jsp.pdfh(html,"li:eq(0)&&a:eq(0)&&href");print(src);HOST=src',
// url:'/type/fyclass-fypage.html', // url:'/type/fyclass-fypage.html',
url:'/show/fyclassfyfilter.html', url:'/show/fyclassfyfilter.html',
// url:'/show_fyclassfyfilter.html', // url:'/show_fyclassfyfilter.html',
@ -22,7 +22,8 @@ var rule = {
"16":[{"key":"area","name":"地区","value":[{"n":"全部","v":""},{"n":"美国","v":"美国"},{"n":"英国","v":"英国"},{"n":"德国","v":"德国"},{"n":"加拿大","v":"加拿大"},{"n":"其他","v":"其他"}]},{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2023","v":"2023"},{"n":"2022","v":"2022"},{"n":"2021","v":"2021"},{"n":"2020","v":"2020"},{"n":"2019","v":"2019"},{"n":"2018","v":"2018"},{"n":"2017","v":"2017"},{"n":"2016","v":"2016"},{"n":"2015","v":"2015"},{"n":"2014","v":"2014"},{"n":"2013","v":"2013"},{"n":"2012","v":"2012"},{"n":"2011","v":"2011"},{"n":"2010","v":"2010"}]},{"key":"lang","name":"语言","value":[{"n":"全部","v":""},{"n":"国语","v":"国语"},{"n":"英语","v":"英语"},{"n":"粤语","v":"粤语"},{"n":"闽南语","v":"闽南语"},{"n":"韩语","v":"韩语"},{"n":"日语","v":"日语"},{"n":"其它","v":"其它"}]},{"key":"by","name":"排序","value":[{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}] "16":[{"key":"area","name":"地区","value":[{"n":"全部","v":""},{"n":"美国","v":"美国"},{"n":"英国","v":"英国"},{"n":"德国","v":"德国"},{"n":"加拿大","v":"加拿大"},{"n":"其他","v":"其他"}]},{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2023","v":"2023"},{"n":"2022","v":"2022"},{"n":"2021","v":"2021"},{"n":"2020","v":"2020"},{"n":"2019","v":"2019"},{"n":"2018","v":"2018"},{"n":"2017","v":"2017"},{"n":"2016","v":"2016"},{"n":"2015","v":"2015"},{"n":"2014","v":"2014"},{"n":"2013","v":"2013"},{"n":"2012","v":"2012"},{"n":"2011","v":"2011"},{"n":"2010","v":"2010"}]},{"key":"lang","name":"语言","value":[{"n":"全部","v":""},{"n":"国语","v":"国语"},{"n":"英语","v":"英语"},{"n":"粤语","v":"粤语"},{"n":"闽南语","v":"闽南语"},{"n":"韩语","v":"韩语"},{"n":"日语","v":"日语"},{"n":"其它","v":"其它"}]},{"key":"by","name":"排序","value":[{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}]
}, },
headers:{//网站的请求头,完整支持所有的,常带ua和cookies headers:{//网站的请求头,完整支持所有的,常带ua和cookies
'User-Agent':'MOBILE_UA' // 'User-Agent':'MOBILE_UA'
'User-Agent':'Mozilla/5.0 (Linux; Android 9; ASUS_Z01QD Build/PQ3B.190801.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/91.0.4472.114 Safari/537.36'
}, },
class_parse:'.stui-header__menu li:gt(0):lt(7);a&&Text;a&&href;/(\\d+).html', class_parse:'.stui-header__menu li:gt(0):lt(7);a&&Text;a&&href;/(\\d+).html',
// class_parse:'.stui-header__menu li;a&&Text;a&&href;/.*_(\\d+).html', // class_parse:'.stui-header__menu li;a&&Text;a&&href;/.*_(\\d+).html',
@ -34,7 +35,8 @@ var from = html.from;
var next = html.link_next; var next = html.link_next;
var id = html.id; var id = html.id;
var nid = html.nid; var nid = html.nid;
var paurl = request("https://libvio.cc/static/player/" + from + ".js").match(/ src="(.*?)'/)[1]; // var paurl = request("https://libvio.cc/static/player/" + from + ".js").match(/ src="(.*?)'/)[1];
var paurl = request(HOST + "/static/player/" + from + ".js").match(/ src="(.*?)'/)[1];
if (/https/.test(paurl)) { if (/https/.test(paurl)) {
var purl = paurl + url + "&next=" + next + "&id=" + id + "&nid=" + nid; var purl = paurl + url + "&next=" + next + "&id=" + id + "&nid=" + nid;
input = { input = {

View File

@ -17,8 +17,22 @@ var rule={
class_name:'动漫片&恐怖片&历史传记片&战争片&武侠古装&记录片&灾难片&音乐歌舞&国产剧&美剧&日韩剧&泰剧&国漫&日漫&欧美动漫', class_name:'动漫片&恐怖片&历史传记片&战争片&武侠古装&记录片&灾难片&音乐歌舞&国产剧&美剧&日韩剧&泰剧&国漫&日漫&欧美动漫',
class_url:'23&24&25&26&28&29&30&31&13&14&15&16&20&21&22', class_url:'23&24&25&26&28&29&30&31&13&14&15&16&20&21&22',
class_parse:'', class_parse:'',
lazy:`js:
var html = JSON.parse(request(input).match(/r player_.*?=(.*?)</)[1]);
var url = html.url;
if (html.encrypt == "1") {
url = unescape(url)
} else if (html.encrypt == "2") {
url = unescape(base64Decode(url))
}
if (/m3u8|mp4/.test(url)) {
input = url
} else {
input
}
`,
// searchUrl:'/vsearch/**--fypage.html', // searchUrl:'/vsearch/**--fypage.html',
searchUrl:'/index.php/ajax/suggest?mid=1&wd=**', searchUrl:'/index.php/ajax/suggest?mid=1&wd=**&limit=50',
detailUrl:'/vdetail/fyid.html', //非必填,二级详情拼接链接 detailUrl:'/vdetail/fyid.html', //非必填,二级详情拼接链接
搜索:'json:list;name;pic;;id', 搜索:'json:list;name;pic;;id',
} }