From 4cfa009b8256dc4a3c82901b24798b8c19e8ce79 Mon Sep 17 00:00:00 2001 From: tloook Date: Mon, 12 Feb 2024 09:59:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9B=B4=E6=96=B0=E5=90=8E?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/JustLive.js | 32 +++++++++++++++++++++++++++++++- js/version.txt | 2 +- js/在线之家.js | 8 +++----- 3 files changed, 35 insertions(+), 7 deletions(-) diff --git a/js/JustLive.js b/js/JustLive.js index a60ffd0..ec1481e 100644 --- a/js/JustLive.js +++ b/js/JustLive.js @@ -112,6 +112,8 @@ var rule = { vod_name: jo.roomName, vod_pic: jo.roomPic, type_name: jo.platForm.replace("huya", "虎牙").replace("douyu", "斗鱼").replace("cc", "网易CC").replace("bilibili", "哔哩哔哩").replace("douyin", "抖音") + "." + jo.categoryName, + vod_director: '👥人气 ' + jo.online, + vod_actor: '🆙 ' + jo.ownerName, vod_content: "🏷分区:" + jo.platForm.replace("huya", "虎牙").replace("douyu", "斗鱼").replace("cc", "网易CC").replace("bilibili", "哔哩哔哩").replace("douyin", "抖音") + "·" + jo.categoryName + " 🏷UP主:" + jo.ownerName + " 🏷人气:" + jo.online + (jo.isLive === 1 ? " 🏷状态:正在直播" : "状态:未开播") }; let episodes = JSON.parse(request("http://live.yj1211.work/api/live/getRealUrlMultiSource?platform=" + jo.platForm + "&roomId=" + jo.roomId)).data; //多线路 @@ -124,7 +126,8 @@ var rule = { kplayList = episodes[key].map(function(it) { let title = it.qualityName; let playUrl = it.playUrl - return title + "$" + play_url + urlencode(playUrl) + // return title + "$" + play_url + urlencode(playUrl) + return title + "$" + play_url + urlencode(playUrl + "|" + jo.platForm + "|" + jo.roomId) }).join("#") playList.append(kplayList); }); @@ -156,10 +159,37 @@ var rule = { }) } }); + d.push( + { + title: "虎牙解析1", + url: "http://epg.112114.xyz/huya/" + jo.roomId + }, + { + title: "虎牙解析2", + url: "https://www.aois.eu.org/live/huya/" + jo.roomId + }, + { + title: "虎牙解析3", + url: "https://www.goodiptv.club/huya/" + jo.roomId + }, + { + title: "虎牙解析4", + url: "http://maomao.kandiantv.cn/huya1.php?id=" + jo.roomId + }, + { + title: "虎牙解析5", + url: "http://43.138.170.29:35455/huya/" + jo.roomId + }, + { + title: "虎牙解析6", + url: "http://8.210.232.168/php/huya.php?id=" + jo.roomId + }, + ); VOD["vod_play_from"] = "选择画质"; VOD["vod_play_url"] = d.map(function(it) { return it.title + "$" + play_url + urlencode(it.url + "|" + jo.platForm + "|" + jo.roomId) }).join("#"); + setResult(d); } } catch (e) { log("获取二级详情页发生错误:" + e.message); diff --git a/js/version.txt b/js/version.txt index 3ec7e00..0063f88 100644 --- a/js/version.txt +++ b/js/version.txt @@ -1 +1 @@ -3.9.49beta33 \ No newline at end of file +3.9.49beta34 \ No newline at end of file diff --git a/js/在线之家.js b/js/在线之家.js index 96bb62d..4d21d5b 100644 --- a/js/在线之家.js +++ b/js/在线之家.js @@ -4,7 +4,6 @@ var rule = { 模板: '首图2', // host:'https://www.zxzj.site', host: 'https://www.zxzja.com', - // hostJs:'print(HOST);let html=request(HOST,{headers:{"User-Agent":PC_UA}});let src=jsp.pdfh(html,"li:eq(0)&&a:eq(2)&&href");print(src);HOST=src', url: '/vodshow/fyclassfyfilter.html', filterable: 1,//是否启用分类筛选, filter_url: '-{{fl.area}}-{{fl.by}}-{{fl.class}}-----fypage---{{fl.year}}', @@ -20,10 +19,9 @@ var rule = { tab_remove:['夸克网盘','迅雷云盘','百度网盘'], // 搜索:muban.首图2.搜索1, 搜索: 'ul.stui-vodlist&&li;a&&title;.lazyload&&data-original;.pic-text&&Text;a&&href', - 图片来源: '@Referer=https://api.douban.com/@User-Agent=Mozilla/5.0%20(Windows%20NT%2010.0;%20Win64;%20x64)%20AppleWebKit/537.36%20(KHTML,%20like%20Gecko)%20Chrome/113.0.0.0%20Safari/537.36', - headers: { - 'User-Agent': 'MOBILE_UA', - 'Referer': HOST, + headers:{ + 'User-Agent':'MOBILE_UA', + // 'Referer': HOST, }, lazy: `js: var html = JSON.parse(request(input).match(/r player_.*?=(.*?)