diff --git a/README.md b/README.md index 53f4100..c0b0b50 100644 --- a/README.md +++ b/README.md @@ -15,9 +15,9 @@ [色色源](https://mirror.ghproxy.com/https://raw.githubusercontent.com/YYDS678/uzVideo/main/video_sources_sese.json) -[大佬脚本源](https://mirror.ghproxy.com/https://raw.githubusercontent.com/Yswag/uzVideo/main/js/spider_sources.json) +[大佬扩展源](https://mirror.ghproxy.com/https://raw.githubusercontent.com/Yswag/uzVideo/main/js/spider_sources.json) -# 编写 uz 可执行的脚本 +# 编写 uz 可执行的扩展 diff --git a/js/README.md b/js/README.md index e6f75cd..ac14507 100644 --- a/js/README.md +++ b/js/README.md @@ -1,17 +1,17 @@ -# 编写 uz 可执行的脚本 +# 编写 uz 可执行的扩展 -1. 感谢您的关注,由于作者对 js 了解甚少,所以内置的代码不够全面。**如果您要编写 uz 可执行的脚本需要添加代码或其他问题,可以联系[机器人](https://t.me/uzVideoAppbot)** -2. uzCode.js 内部定义了一些类和方法,您需要在脚本中实现 WebApiBase 的所有方法 -3. uz 内部仅有一个运行时,所有 js 代码(包括脚本)都在一起加载执行。所以您的脚本内类名一定要特殊,实例名称也要特殊 +1. 感谢您的关注,由于作者对 js 了解甚少,所以内置的代码不够全面。**如果您要编写 uz 可执行的扩展需要添加代码或其他问题,可以联系[机器人](https://t.me/uzVideoAppbot)** +2. uzCode.js 内部定义了一些类和方法,您需要在扩展中实现 WebApiBase 的所有方法 +3. uz 内部仅有一个运行时,所有 js 代码(包括扩展)都在一起加载执行。所以您的扩展内类名一定要特殊,实例名称也要特殊 4. 不支持 import export 5. 集成库可在 `uz3lib.js` 查看,如需添加其他库通用库请联系[机器人](https://t.me/uzVideoAppbot) 6. 成对使用 `// ignore` uz 内部会忽略包裹的内容 -7. 为您的脚本编写以下 json 配置文件 +7. 为您的扩展编写以下 json 配置文件 ``` { "name": "名称", - "api": "脚本链接", + "api": "扩展链接", "instance": "实例名称", "webSite": "视频站地址。在 app 内用户可自行修改,当加载代码时会赋值给对象的 webSite 属性", "remark": "备注" @@ -19,7 +19,7 @@ ``` -# 脚本运行说明 +# 扩展运行说明 1. 执行每个方法都会为 `webSite` 进行赋值 2. 流程图 diff --git a/js/core/uzCode.js b/js/core/uzCode.js index 79d1432..521628b 100644 --- a/js/core/uzCode.js +++ b/js/core/uzCode.js @@ -192,17 +192,17 @@ class UZArgs { class UZSubclassVideoListArgs extends UZArgs { constructor() { /** - * 主分类ID 即脚本返回的 @type {RepVideoClassList}.data[0].type_id + * 主分类ID 即扩展返回的 @type {RepVideoClassList}.data[0].type_id */ this.mainClassId = ""; /** - * 二级分类ID 即脚本返回的 @type {RepVideoSubclassList}.data.class.type_id + * 二级分类ID 即扩展返回的 @type {RepVideoSubclassList}.data.class.type_id */ this.subclassId = ""; /** - * 筛选标签,按返回的顺序传入 即脚本返回的 @type {RepVideoSubclassList}.data.filter. + * 筛选标签,按返回的顺序传入 即扩展返回的 @type {RepVideoSubclassList}.data.filter. * @type {FilterLabel[]} */ this.filter = []; @@ -210,7 +210,7 @@ class UZSubclassVideoListArgs extends UZArgs { } /** - * 脚本基类 + * 扩展基类 */ class WebApiBase { // 网站主页 diff --git a/js/core/uzUtils.js b/js/core/uzUtils.js index 06b0ad2..66af1ae 100644 --- a/js/core/uzUtils.js +++ b/js/core/uzUtils.js @@ -48,7 +48,7 @@ class UZUtils { } /** - * 用于在 uz 脚本调试模式中展示 log 信息 + * 用于在 uz 扩展调试模式中展示 log 信息 */ static debugLog() { sendMessage("debugLog", JSON.stringify([...arguments])); diff --git a/update.json b/update.json index 6677f4b..b74cac3 100644 --- a/update.json +++ b/update.json @@ -1,6 +1,6 @@ { - "version":"1.3.00", + "version":"1.5.30", "apk":"https://t.me/uzvideoplay", "ipa":"https://t.me/uzvideoplay", - "update":"# 本次更新\n- 首页增加切换布局\n- 添加源列表自动加入订阅列表\n- iOS画中画修复完善\n- 修复其它部分已知问题" + "update":"# 本次更新\n\n- 优化广告过滤\n- 修复扫码输入\n- 修复其它部分已知问题\n\n# 增加群友反馈部分功能\n\n- 优化 win、mac 全屏播放" } diff --git a/uz影视_Android_1.5.30-arm64-v8a.apk b/uz影视_Android_1.5.30-arm64-v8a.apk new file mode 100644 index 0000000..16ffc88 Binary files /dev/null and b/uz影视_Android_1.5.30-arm64-v8a.apk differ diff --git a/uz影视_Android_1.5.30-armeabi-v7a.apk b/uz影视_Android_1.5.30-armeabi-v7a.apk new file mode 100644 index 0000000..a8b7866 Binary files /dev/null and b/uz影视_Android_1.5.30-armeabi-v7a.apk differ diff --git a/uz影视_Android_1.5.30-x86_64.apk b/uz影视_Android_1.5.30-x86_64.apk new file mode 100644 index 0000000..64ff11d Binary files /dev/null and b/uz影视_Android_1.5.30-x86_64.apk differ diff --git a/uz影视_iOS_1.5.30.ipa b/uz影视_iOS_1.5.30.ipa new file mode 100644 index 0000000..3878588 Binary files /dev/null and b/uz影视_iOS_1.5.30.ipa differ diff --git a/uz影视_mac_1.5.30.dmg b/uz影视_mac_1.5.30.dmg new file mode 100644 index 0000000..38ea6d1 Binary files /dev/null and b/uz影视_mac_1.5.30.dmg differ