mirror of
https://github.com/qist/tvbox.git
synced 2025-01-24 11:24:52 +08:00
Add files via upload
This commit is contained in:
parent
6a578c82cd
commit
a46f2ecbcc
11
js/LIBVIO.js
11
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',
|
||||
}
|
@ -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',
|
||||
|
@ -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)}',
|
||||
搜索:'*',
|
||||
|
Loading…
x
Reference in New Issue
Block a user