From dde541e2ef1ff742cdd6d8c2e9ac5bb48c50f23c Mon Sep 17 00:00:00 2001 From: Jerry Date: Sat, 17 May 2025 11:16:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/rssPush.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/apps/rssPush.js b/apps/rssPush.js index 91ff5e8..7333ace 100644 --- a/apps/rssPush.js +++ b/apps/rssPush.js @@ -10,6 +10,7 @@ export default class RssPlugin extends plugin { super({ name: 'crystelf RSS订阅', dsc: '定时推送rss解析流', + priority: 114, rule: [ { reg: '^#rss添加(.+)$', @@ -22,13 +23,13 @@ export default class RssPlugin extends plugin { permission: 'master', }, { - reg: /(https?:\/\/[^\s]+(?:\.atom|\/feed))/i, - fnc: 'autoAddFeed', + reg: '^#rss拉取 (https?:\/\/[^\s]+)$', + fnc: 'pullFeedNow', permission: 'master', }, { - reg: '^#rss拉取 (https?:\/\/[^\s]+)$', - fnc: 'pullFeedNow', + reg: /(https?:\/\/[^\s]+(?:\.atom|\/feed))/i, + fnc: 'autoAddFeed', permission: 'master', }, ],