Merge branch 'jxxghp:main' into main

This commit is contained in:
Seed680
2025-05-22 08:45:56 +08:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -742,7 +742,7 @@
"name": "Tracker替换",
"description": "批量替换修改种子tracker。",
"labels": "做种",
"version": "1.8",
"version": "1.9",
"icon": "trackereditor_A.png",
"author": "honue",
"level": 1,

View File

@@ -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)