From 9b487eecbc16efb3dc0a4453a561fad15ae6adb8 Mon Sep 17 00:00:00 2001 From: thsrite Date: Mon, 29 Apr 2024 13:19:41 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E5=A4=8D=E4=B8=8D=E5=88=AE?= =?UTF-8?q?=E5=89=8A=E4=B8=8D=E7=94=9F=E6=95=88bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- package.json | 3 ++- plugins/cloudlinkmonitor/__init__.py | 5 +++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 71cbe7a..79a5880 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ MoviePilot三方插件市场:https://github.com/thsrite/MoviePilot-Plugins/ - [Emby观影报告 1.5](docs%2FEmbyReporter.md) - 演员订阅 1.5 - [短剧刮削 3.2](docs%2FShortPlayMonitor.md) -- 云盘实时监控 1.8 +- 云盘实时监控 2.0 - 源文件恢复 1.2 - [微信消息转发 2.2](docs%2FWeChatForward.md) - 订阅下载统计 1.5 diff --git a/package.json b/package.json index c9e5e12..b7e5a21 100644 --- a/package.json +++ b/package.json @@ -208,11 +208,12 @@ "CloudLinkMonitor": { "name": "云盘实时监控", "description": "监控云盘目录文件变化,自动转移链接。", - "version": "1.9", + "version": "2.0", "icon": "Linkease_A.png", "author": "thsrite", "level": 1, "history": { + "v2.0": "修复不刮削不生效bug", "v1.8": "fix S00转移", "v1.7": "fix 刮削", "v1.6": "可配置是否刮削", diff --git a/plugins/cloudlinkmonitor/__init__.py b/plugins/cloudlinkmonitor/__init__.py index 91dd4a8..6c31c0c 100644 --- a/plugins/cloudlinkmonitor/__init__.py +++ b/plugins/cloudlinkmonitor/__init__.py @@ -60,7 +60,7 @@ class CloudLinkMonitor(_PluginBase): # 插件图标 plugin_icon = "Linkease_A.png" # 插件版本 - plugin_version = "1.9" + plugin_version = "2.0" # 插件作者 plugin_author = "thsrite" # 作者主页 @@ -145,7 +145,8 @@ class CloudLinkMonitor(_PluginBase): # 是否刮削 _scraper_type = False if mon_path.count("$") == 1: - _scraper_type = bool(mon_path.split("$")[1]) + _scraper_type = mon_path.split("$")[1] + _scraper_type = True if _scraper_type == "True" else False mon_path = mon_path.split("$")[0] # 自定义转移方式