From a46f2ecbccdb5b0b4c8e7bd78a98cffcb858464d Mon Sep 17 00:00:00 2001 From: gaotianliuyun <58679624+gaotianliuyun@users.noreply.github.com> Date: Thu, 30 Mar 2023 12:37:55 +0800 Subject: [PATCH] Add files via upload --- js/LIBVIO.js | 11 ++++++++--- js/Voflix.js | 3 ++- js/创艺影视[V2].js | 8 ++++---- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/js/LIBVIO.js b/js/LIBVIO.js index 568ac1af..8b0996f8 100644 --- a/js/LIBVIO.js +++ b/js/LIBVIO.js @@ -1,5 +1,6 @@ muban.首图2.二级.title = 'h1&&Text;.data:eq(0)&&Text' muban.首图2.二级.desc = '.data.hidden-xs&&Text;;;.data:eq(1)&&Text;.data:eq(4)&&Text' +muban.首图2.二级.content = '.detail-content&&Text' var rule = { title:'LIBVIO', 模板:'首图2', @@ -7,7 +8,8 @@ var rule = { host:'https://tv.libvio.cc', // host:'https://libvio.me', // url:'/type/fyclass-fypage.html', - url:'/show/fyclassfyfilter.html', + // url:'/show/fyclassfyfilter.html', + url:'/show_fyclassfyfilter.html', filterable:1,//是否启用分类筛选, filter_url:'-{{fl.area}}-{{fl.by}}--{{fl.lang}}----fypage---{{fl.year}}', filter: { @@ -22,10 +24,13 @@ var rule = { 'User-Agent':'MOBILE_UA', 'Referer':'https://tv.libvio.cc/' }, - 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', tab_exclude:'夸克网盘', + pagecount:{"27":1}, searchUrl:'/index.php/ajax/suggest?mid=1&wd=**', - detailUrl:'/detail/fyid.html', //非必填,二级详情拼接链接 + // detailUrl:'/detail/fyid.html', //非必填,二级详情拼接链接 + detailUrl:'/detail_fyid.html', //非必填,二级详情拼接链接 // searchUrl:'/search/**----------fypage---.html', 搜索:'json:list;name;pic;;id', } \ No newline at end of file diff --git a/js/Voflix.js b/js/Voflix.js index 8e85792f..e40b5b83 100644 --- a/js/Voflix.js +++ b/js/Voflix.js @@ -1,6 +1,7 @@ var rule={ title:'VOFLIX HD', - host:'https://www.voflix.com', + // host:'https://www.voflix.com', + host:'https://www.voflix.me', // homeUrl:'/', // url:'/show/fyclass--------fypage---.html', url:'/show/fyfilter.html', diff --git a/js/创艺影视[V2].js b/js/创艺影视[V2].js index 6cb14b55..fae29a79 100644 --- a/js/创艺影视[V2].js +++ b/js/创艺影视[V2].js @@ -1,8 +1,8 @@ var rule = { title: '创艺影视[V2]', // csp_AppYsV2 host: 'http://www.30dian.cn', - // homeUrl:'/api.php/v1.vod/vodPhbAll', - homeUrl:'/api.php/v1.vod?limit=12&page=1', + homeUrl:'/api.php/v1.vod/vodPhbAll', + // homeUrl:'/api.php/v1.vod?limit=12&page=1', // url: '/api.php/v1.vod?type=fyclass&limit=20&page=fypage', url: '/api.php/v1.vod?type=fyclassfyfilter&limit=20&page=fypage', filter_url:'&class={{fl.class}}&area={{fl.area}}&lang={{fl.lang}}&letter={{fl.letter}}&year={{fl.year}}&by={{fl.by}}', @@ -26,8 +26,8 @@ var rule = { // lazy:'js:input = /mp4/.test(input)?{jx:0,url:input,parse:0}:input', lazy:'', limit:6, - // 推荐:'json:data.zhui.vod_list;*;*;*;*', - 推荐:'*', + 推荐:'json:data.list[0].vod_list;*;*;*;*', + // 推荐:'*', 一级:'json:data.list;vod_name;vod_pic;vod_remarks;vod_id', 二级:'js:try{let html=request(input);print(html);html=JSON.parse(html);let node=html.data;VOD={vod_id:node["vod_id"],vod_name:node["vod_name"],vod_pic:node["vod_pic"],type_name:node["vod_class"],vod_year:node["vod_year"],vod_area:node["vod_area"],vod_remarks:node["vod_remarks"],vod_actor:node["vod_actor"],vod_director:node["vod_director"],vod_content:node["vod_content"].strip()};let episodes=node.vod_play_list;let playMap={};if(typeof play_url==="undefined"){var play_url=""}episodes.forEach(function(ep){let source=ep["from"];if(!playMap.hasOwnProperty(source)){playMap[source]=[]}playMap[source].append(ep["url"])});let playFrom=[];let playList=[];Object.keys(playMap).forEach(function(key){playFrom.append(key);playList.append(playMap[key])});let vod_play_from=playFrom.join("$$$");let vod_play_url=playList.join("$$$");VOD["vod_play_from"]=vod_play_from;VOD["vod_play_url"]=vod_play_url}catch(e){log("获取二级详情页发生错误:"+e.message)}', 搜索:'*',