Sync all projects
This commit is contained in:
@@ -101,6 +101,14 @@
|
||||
"api": "https://ghfast.top/https://raw.githubusercontent.com/FGBLH/HKL/refs/heads/main/py/聚合直播.py"
|
||||
},
|
||||
{
|
||||
"key": "央视网页",
|
||||
"name": "🐬央视网页直播(关梯)[直播]",
|
||||
"type": 3,
|
||||
"jar": "https://ghfast.top/https://raw.githubusercontent.com/FGBLH/HKL/refs/heads/main/jar_js/WvSpider.jar",
|
||||
"api": "csp_WvSpider",
|
||||
"ext": "https://ghfast.top/https://raw.githubusercontent.com/FGBLH/HKL/refs/heads/main/jar_js/央视直播.js"
|
||||
},
|
||||
{
|
||||
"key":"youtube",
|
||||
"name":"🐬油管[其他]",
|
||||
"type":3,
|
||||
|
||||
@@ -377,6 +377,12 @@
|
||||
"type": 3,
|
||||
"api": "https://ghfast.top/https://raw.githubusercontent.com/FGBLH/HKL/refs/heads/main/py/悦听吧.py"
|
||||
},
|
||||
{
|
||||
"key": "275ts",
|
||||
"name": "🐬275听书.py[听书]",
|
||||
"type": 3,
|
||||
"api": "https://ghfast.top/https://raw.githubusercontent.com/FGBLH/HKL/refs/heads/main/py/275听书.py"
|
||||
},
|
||||
{
|
||||
"key": "kwms",
|
||||
"name": "🐬酷我音乐.py[音乐]",
|
||||
|
||||
@@ -101,6 +101,14 @@
|
||||
"api": "https://ghfast.top/https://raw.githubusercontent.com/FGBLH/HKL/refs/heads/main/py/聚合直播.py"
|
||||
},
|
||||
{
|
||||
"key": "央视网页",
|
||||
"name": "🐬央视网页直播(关梯)",
|
||||
"type": 3,
|
||||
"jar": "https://ghfast.top/https://raw.githubusercontent.com/FGBLH/HKL/refs/heads/main/jar_js/WvSpider.jar",
|
||||
"api": "csp_WvSpider",
|
||||
"ext": "https://ghfast.top/https://raw.githubusercontent.com/FGBLH/HKL/refs/heads/main/jar_js/央视直播.js"
|
||||
},
|
||||
{
|
||||
"key":"youtube",
|
||||
"name":"🐬油管",
|
||||
"type":3,
|
||||
@@ -726,6 +734,12 @@
|
||||
"type": 3,
|
||||
"api": "https://ghfast.top/https://raw.githubusercontent.com/FGBLH/HKL/refs/heads/main/py/悦听吧.py"
|
||||
},
|
||||
{
|
||||
"key": "275ts",
|
||||
"name": "🐬275听书.py",
|
||||
"type": 3,
|
||||
"api": "https://ghfast.top/https://raw.githubusercontent.com/FGBLH/HKL/refs/heads/main/py/275听书.py"
|
||||
},
|
||||
{
|
||||
"key": "kwms",
|
||||
"name": "🐬酷我音乐.py",
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,119 @@
|
||||
/**
|
||||
* 央视频 1080P
|
||||
* 作者:deepseek
|
||||
* 版本:1.0
|
||||
* 最后更新:2026-1-2 02:46:31
|
||||
* 发布页 https://m.yangshipin.cn/
|
||||
* @config
|
||||
* debug: true
|
||||
* blockList: *.[ico|png|jpeg|jpg|gif|webp]*
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* 初始化配置
|
||||
*/
|
||||
async function init(cfg) {
|
||||
return {};
|
||||
}
|
||||
|
||||
/**
|
||||
* 首页分类
|
||||
*/
|
||||
async function homeContent(filter) {
|
||||
return {
|
||||
class: [
|
||||
{ type_id: "1", type_name: "央视" },
|
||||
{ type_id: "2", type_name: "卫视" }
|
||||
]
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* 首页推荐视频
|
||||
*/
|
||||
async function homeVideoContent() {
|
||||
return {
|
||||
list: []
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* 分类内容
|
||||
*/
|
||||
async function categoryContent(tid, pg, filter, extend) {
|
||||
const res = await Java.req('https://h5access.yangshipin.cn/web/tv_web_share?raw=1&pid=600002485');
|
||||
const jsonData = JSON.parse(res.body);
|
||||
const pidInfo = jsonData?.data?.pidInfo || [];
|
||||
|
||||
const isCentralTV = (name) => name.startsWith('CCTV') || name.startsWith('CGTN');
|
||||
|
||||
const vods = pidInfo
|
||||
.filter(item => {
|
||||
if (item.vipInfo?.isVip !== false) return false;
|
||||
if (!item.pid || !item.channelName) return false;
|
||||
const isCentral = isCentralTV(item.channelName);
|
||||
return tid === '1' ? isCentral : !isCentral;
|
||||
})
|
||||
.map(item => {
|
||||
const isCentral = isCentralTV(item.channelName);
|
||||
const vodPic = item.audioPosterUrl;
|
||||
return {
|
||||
vod_id: item.pid,
|
||||
vod_name: item.channelName,
|
||||
vod_pic: vodPic,
|
||||
action: item.pid,
|
||||
style: { type: "rect", ratio: isCentral ? 1.66 : 1 }
|
||||
};
|
||||
})
|
||||
.filter(item => item.vod_pic);
|
||||
|
||||
return {
|
||||
code: 1,
|
||||
msg: "数据列表",
|
||||
list: vods,
|
||||
page: 1,
|
||||
pagecount: 1,
|
||||
limit: vods.length,
|
||||
total: vods.length
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* 详情页
|
||||
*/
|
||||
async function detailContent(ids) {
|
||||
return {
|
||||
list: []
|
||||
};
|
||||
}
|
||||
|
||||
async function action(pid) {
|
||||
Java.wvPlayerSetAllowInteraction(false); // 是否允许操作, true为允许.会禁用音量手势
|
||||
Java.wvPlayerSetScale(0); //画面比例: 0=默认, 1=16:9, 2=4:3, 3=填充, 4=原始, 5=裁剪
|
||||
// Java.wvPlayerSetVolume(90); // 初始音量
|
||||
Java.wvPlayer({
|
||||
url: 'https://yangshipin.cn/tv/home?pid=' + pid,
|
||||
headers: {
|
||||
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36'
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 搜索
|
||||
*/
|
||||
async function searchContent(key, quick, pg) {
|
||||
return {
|
||||
list: []
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* 播放器
|
||||
*/
|
||||
async function playerContent(flag, id, vipFlags) {
|
||||
return;
|
||||
}
|
||||
@@ -401,6 +401,14 @@
|
||||
"api": "https://ghfast.top/https://raw.githubusercontent.com/FGBLH/HKL/refs/heads/main/py/聚合直播.py"
|
||||
},
|
||||
{
|
||||
"key": "央视网页",
|
||||
"name": "🐬央视网页直播(关梯)",
|
||||
"type": 3,
|
||||
"jar": "https://ghfast.top/https://raw.githubusercontent.com/FGBLH/HKL/refs/heads/main/jar_js/WvSpider.jar",
|
||||
"api": "csp_WvSpider",
|
||||
"ext": "https://ghfast.top/https://raw.githubusercontent.com/FGBLH/HKL/refs/heads/main/jar_js/央视直播.js"
|
||||
},
|
||||
{
|
||||
"key":"youtube2",
|
||||
"name":"🐬油管直播,py",
|
||||
"type": 3,
|
||||
@@ -711,6 +719,12 @@
|
||||
"type": 3,
|
||||
"api": "https://ghfast.top/https://raw.githubusercontent.com/FGBLH/HKL/refs/heads/main/py/悦听吧.py"
|
||||
},
|
||||
{
|
||||
"key": "275ts",
|
||||
"name": "🐬275听书.py",
|
||||
"type": 3,
|
||||
"api": "https://ghfast.top/https://raw.githubusercontent.com/FGBLH/HKL/refs/heads/main/py/275听书.py"
|
||||
},
|
||||
{
|
||||
"key": "kwms",
|
||||
"name": "🐬酷我音乐.py",
|
||||
|
||||
@@ -394,6 +394,12 @@
|
||||
"type": 3,
|
||||
"api": "https://ghfast.top/https://raw.githubusercontent.com/FGBLH/HKL/refs/heads/main/py/悦听吧.py"
|
||||
},
|
||||
{
|
||||
"key": "275ts",
|
||||
"name": "🐬275听书.py",
|
||||
"type": 3,
|
||||
"api": "https://ghfast.top/https://raw.githubusercontent.com/FGBLH/HKL/refs/heads/main/py/275听书.py"
|
||||
},
|
||||
{
|
||||
"key": "kwms",
|
||||
"name": "🐬酷我音乐.py",
|
||||
|
||||
@@ -383,6 +383,14 @@
|
||||
"api": "https://ghfast.top/https://raw.githubusercontent.com/FGBLH/HKL/refs/heads/main/py/聚合直播.py"
|
||||
},
|
||||
{
|
||||
"key": "央视网页",
|
||||
"name": "🐬央视网页直播(关梯)",
|
||||
"type": 3,
|
||||
"jar": "https://ghfast.top/https://raw.githubusercontent.com/FGBLH/HKL/refs/heads/main/jar_js/WvSpider.jar",
|
||||
"api": "csp_WvSpider",
|
||||
"ext": "https://ghfast.top/https://raw.githubusercontent.com/FGBLH/HKL/refs/heads/main/jar_js/央视直播.js"
|
||||
},
|
||||
{
|
||||
"key":"youtube2",
|
||||
"name":"🐬油管直播,py",
|
||||
"type": 3,
|
||||
@@ -666,6 +674,12 @@
|
||||
"type": 3,
|
||||
"api": "https://ghfast.top/https://raw.githubusercontent.com/FGBLH/HKL/refs/heads/main/py/悦听吧.py"
|
||||
},
|
||||
{
|
||||
"key": "275ts",
|
||||
"name": "🐬275听书.py",
|
||||
"type": 3,
|
||||
"api": "https://ghfast.top/https://raw.githubusercontent.com/FGBLH/HKL/refs/heads/main/py/275听书.py"
|
||||
},
|
||||
{
|
||||
"key": "kwms",
|
||||
"name": "🐬酷我音乐.py",
|
||||
|
||||
+14472
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user