From 914d3fd750707efedb20358417b94313eed4d7ad Mon Sep 17 00:00:00 2001 From: jxxghp Date: Thu, 9 Jan 2025 15:49:58 +0800 Subject: [PATCH] fix RemoteIdentifiers --- package.json | 7 +++++-- plugins/remoteidentifiers/__init__.py | 13 +++++++------ 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 685b824..6773fb5 100644 --- a/package.json +++ b/package.json @@ -638,11 +638,14 @@ "name": "共享识别词", "description": "从Github、Etherpad等远程文件中获取共享识别词并应用。", "labels": "识别", - "version": "2.2", + "version": "2.3", "icon": "words.png", "author": "honue", "level": 1, - "v2": true + "v2": true, + "history": { + "v2.3": "更换默认共享识别词地址" + } }, "NeoDBSync": { "name": "NeoDB 想看", diff --git a/plugins/remoteidentifiers/__init__.py b/plugins/remoteidentifiers/__init__.py index 1fd3dc1..46039b8 100644 --- a/plugins/remoteidentifiers/__init__.py +++ b/plugins/remoteidentifiers/__init__.py @@ -23,7 +23,7 @@ class RemoteIdentifiers(_PluginBase): # 插件图标 plugin_icon = "words.png" # 插件版本 - plugin_version = "2.2" + plugin_version = "2.3" # 插件作者 plugin_author = "honue" # 作者主页 @@ -228,7 +228,9 @@ class RemoteIdentifiers(_PluginBase): 'props': { 'type': 'success', 'variant': 'tonal', - 'text': '以下为官方共享识别词维护地址,欢迎大家共同维护,也可以自己创建分享地址(支持Github及Etherpad),Github需要raw的源文件地址,文件格式与系统中配置格式一致即可。' + 'text': '可自己创建分享地址(支持Github及Etherpad),Github需要raw的源文件地址,文件格式与系统中配置格式一致即可。' + '以下为官方托管的共享识别词,开放给大家共同维护,但由于经常有人捣乱,且体量越来越大影响运行效率,' + '【建议仅供分享和参考】,不在插件中引用:https://movie-pilot.org/etherpad/p/MoviePilot_TV_Words、https://movie-pilot.org/etherpad/p/MoviePilot_Anime_Words' } } ] @@ -249,8 +251,7 @@ class RemoteIdentifiers(_PluginBase): 'props': { 'type': 'info', 'variant': 'tonal', - 'text': '电视剧:https://movie-pilot.org/etherpad/p/MoviePilot_TV_Words,' - '番剧:https://movie-pilot.org/etherpad/p/MoviePilot_Anime_Words' + 'text': '以下共享识别词由第三方审核维护,推荐使用:https://raw.githubusercontent.com/Putarku/MoviePilot-Help/main/Words/TV.txt、https://raw.githubusercontent.com/Putarku/MoviePilot-Help/main/Words/anime.txt' } } ] @@ -264,8 +265,8 @@ class RemoteIdentifiers(_PluginBase): "onlyonce": False, "flitter": True, "cron": '30 4 * * *', - "file_urls": "https://movie-pilot.org/etherpad/p/MoviePilot_TV_Words\n" - "https://movie-pilot.org/etherpad/p/MoviePilot_Anime_Words", + "file_urls": "https://raw.githubusercontent.com/Putarku/MoviePilot-Help/main/Words/TV.txt\n" + "https://raw.githubusercontent.com/Putarku/MoviePilot-Help/main/Words/anime.txt", } def __update_config(self):