mirror of
https://github.com/d0zingcat/MoviePilot-Plugins.git
synced 2026-05-13 23:16:47 +00:00
Merge branch 'jxxghp:main' into main
This commit is contained in:
@@ -742,7 +742,7 @@
|
||||
"name": "Tracker替换",
|
||||
"description": "批量替换修改种子tracker。",
|
||||
"labels": "做种",
|
||||
"version": "1.8",
|
||||
"version": "1.9",
|
||||
"icon": "trackereditor_A.png",
|
||||
"author": "honue",
|
||||
"level": 1,
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user