From 60703480d35b99ad54088899e53b6cc3213d867a Mon Sep 17 00:00:00 2001 From: honue Date: Mon, 19 May 2025 18:52:19 +0800 Subject: [PATCH] =?UTF-8?q?fix(TrackerEditor):=20=E7=BC=A9=E8=BF=9B?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E7=9A=84=E8=AE=A1=E6=95=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- plugins/trackereditor/__init__.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 28f01cf..db8de10 100644 --- a/package.json +++ b/package.json @@ -742,7 +742,7 @@ "name": "Tracker替换", "description": "批量替换修改种子tracker。", "labels": "做种", - "version": "1.8", + "version": "1.9", "icon": "trackereditor_A.png", "author": "honue", "level": 1, diff --git a/plugins/trackereditor/__init__.py b/plugins/trackereditor/__init__.py index a12e427..a1a225f 100644 --- a/plugins/trackereditor/__init__.py +++ b/plugins/trackereditor/__init__.py @@ -19,7 +19,7 @@ class TrackerEditor(_PluginBase): # 插件图标 plugin_icon = "trackereditor_A.png" # 插件版本 - plugin_version = "1.8" + plugin_version = "1.9" # 插件作者 plugin_author = "honue" # 作者主页 @@ -91,7 +91,7 @@ class TrackerEditor(_PluginBase): new_url = tracker.url.replace(target_domain, tracker_dict[target_domain]) logger.info(f"{original_url[:30]}... 替换为 {new_url[:30]}...") torrent.edit_tracker(orig_url=original_url, new_url=new_url) - torrent_update_cnt += 1 + torrent_update_cnt += 1 elif self._downloader_type == "transmission": self._downloader = Transmission(self._host, self._port, self._username, self._password)