From ab7ca36732beda43c09a12569056aa3dce1ea129 Mon Sep 17 00:00:00 2001 From: n3rddd <119649988+n3rddd@users.noreply.github.com> Date: Wed, 13 Sep 2023 21:11:42 +0800 Subject: [PATCH] Add files via upload --- JN/EXT/JS/LIBVIO.js | 12 +++++++----- JN/EXT/JS/ikanbot2.js | 7 ++++--- JN/EXT/JS/ikanbot3.js | 7 ++++--- JN/EXT/JS/爱看机器人.js | 9 +++++---- 4 files changed, 20 insertions(+), 15 deletions(-) diff --git a/JN/EXT/JS/LIBVIO.js b/JN/EXT/JS/LIBVIO.js index fedd5ff5..ec82f8b6 100644 --- a/JN/EXT/JS/LIBVIO.js +++ b/JN/EXT/JS/LIBVIO.js @@ -5,9 +5,9 @@ muban.首图2.二级.content = '.detail-content&&Text' var rule = { title:'LIBVIO', 模板:'首图2', - // host:'https://tv.libvio.cc', - 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', + host:'https://www.libvio.me', + // 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', // url:'/type/fyclass-fypage.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"}]}] }, 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;a&&Text;a&&href;/.*_(\\d+).html', @@ -34,7 +35,8 @@ var from = html.from; var next = html.link_next; var id = html.id; 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)) { var purl = paurl + url + "&next=" + next + "&id=" + id + "&nid=" + nid; input = { diff --git a/JN/EXT/JS/ikanbot2.js b/JN/EXT/JS/ikanbot2.js index 9737fe6c..db3bb72c 100644 --- a/JN/EXT/JS/ikanbot2.js +++ b/JN/EXT/JS/ikanbot2.js @@ -19,13 +19,14 @@ VOD.vod_name = pdfh(html1, "h2&&Text"); VOD.vod_content = ""; log(VOD); var v_tks = ''; - let script = pdfa(html1,'script').find(it=>it.includes('v_tks+=')).replace(/