更新
This commit is contained in:
4
js/core/uz3lib.js
Normal file
4
js/core/uz3lib.js
Normal file
File diff suppressed because one or more lines are too long
7138
js/core/uzCode.js
7138
js/core/uzCode.js
File diff suppressed because one or more lines are too long
@@ -3,8 +3,9 @@ import { WebApiBase, VideoClass } from "../core/uzCode.js";
|
||||
import { parse } from "node-html-parser";
|
||||
// ignore
|
||||
|
||||
// 类名要特殊
|
||||
class ChangZhang20240614 extends WebApiBase {
|
||||
webSite = "https://www.czys.top";
|
||||
webSite = "https://www.czzy77.com";
|
||||
/**
|
||||
* 异步获取分类列表的方法。
|
||||
* @param {UZArgs} args
|
||||
@@ -13,7 +14,7 @@ class ChangZhang20240614 extends WebApiBase {
|
||||
async getClassList(args) {
|
||||
let webUrl = args.url;
|
||||
// 如果通过首页获取分类的话,可以将对象内部的首页更新
|
||||
this.webSite = this.removeTrailingSlash(webUrl);
|
||||
this.webSite = UZUtils.removeTrailingSlash(webUrl);
|
||||
var backData = new RepVideoClassList();
|
||||
try {
|
||||
const pro = await req(webUrl);
|
||||
@@ -54,7 +55,7 @@ class ChangZhang20240614 extends WebApiBase {
|
||||
* @returns {Promise<RepVideoList>}
|
||||
*/
|
||||
async getVideoList(args) {
|
||||
var listUrl = this.removeTrailingSlash(args.url) + "/page/" + args.page;
|
||||
var listUrl = UZUtils.removeTrailingSlash(args.url) + "/page/" + args.page;
|
||||
var backData = new RepVideoClassList();
|
||||
try {
|
||||
let pro = await req(listUrl, null);
|
||||
@@ -356,12 +357,6 @@ class ChangZhang20240614 extends WebApiBase {
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
removeTrailingSlash(str) {
|
||||
if (str.endsWith("/")) {
|
||||
return str.slice(0, -1);
|
||||
}
|
||||
return str;
|
||||
}
|
||||
}
|
||||
// json 中 instance 的值,这个名称一定要特殊
|
||||
var changZhang20240614 = new ChangZhang20240614();
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"name": "厂长视频",
|
||||
"api": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/YYDS678/uzVideo/main/js/spider/changZhang20240614.js",
|
||||
"instance": "changZhang20240614",
|
||||
"webSite": "https://www.czys.top",
|
||||
"webSite": "https://www.czzy77.com",
|
||||
"remark": "部分视频不会解密,不支持搜索"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"version":"1.2.6",
|
||||
"apk":"https://mirror.ghproxy.com/https://github.com/YYDS678/uzVideo/raw/main/uz影视_追剧直播无广免费1.2.6.apk",
|
||||
"ipa":"https://mirror.ghproxy.com/https://github.com/YYDS678/uzVideo/raw/main/uz影视_追剧直播无广免费1.2.6.ipa"
|
||||
"version":"1.2.7",
|
||||
"apk":"https://mirror.ghproxy.com/https://github.com/YYDS678/uzVideo/raw/main/uz影视_追剧直播无广免费1.2.7.apk",
|
||||
"ipa":"https://mirror.ghproxy.com/https://github.com/YYDS678/uzVideo/raw/main/uz影视_追剧直播无广免费1.2.7.ipa",
|
||||
"update":"# 本次更新\n- 新增导出日志功能\n- 新增脚本调试功能\n- 新增启动检查更新功能\n- 修复部分已知问题\n\n# 其他\n- 欢迎反馈问题和意见\n- 频道 t.me/uzvideoplay\n- 群组 t.me/uzVideoApp\n- 传话机 t.me/uzVideoAppbot"
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user