We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c958e0e commit a890b4fCopy full SHA for a890b4f
1 file changed
app/plugins/torrenttransfer/__init__.py
@@ -595,11 +595,12 @@ def transfer(self):
595
# 从源下载任务信息中获取Tracker
596
torrent = torrent_item.get('torrent')
597
# 源trackers
598
- trackers = [tracker.get("url") for tracker in torrent.trackers]
+ trackers = [tracker.get("url") for tracker in torrent.trackers
599
+ if str(tracker.get("url")).startswith('http')]
600
logger.info(f"获取到源tracker:{trackers}")
601
602
# 发送到另一个下载器中下载:默认暂停、传输下载路径、关闭自动管理模式
- logger.info(f"添加转移做种任务到下载器 {todownloader}:{torrent_file} ...")
603
+ logger.info(f"添加转移做种任务到下载器 {todownloader}:{torrent_file}")
604
download_id = self.__download(downloader=todownloader,
605
content=torrent_file.read_bytes(),
606
save_path=download_dir)
0 commit comments