support path_mapping for downloader

This commit is contained in:
stkevintan
2025-12-08 16:25:46 +08:00
parent 63a890e85d
commit 378ba51f4d
7 changed files with 42 additions and 15 deletions
+1 -1
View File
@@ -150,7 +150,7 @@ class QbittorrentModule(_ModuleBase, _DownloaderBase[Qbittorrent]):
# 添加任务
state = server.add_torrent(
content=content,
download_dir=download_dir.as_posix(),
download_dir=self.normalize_path(download_dir, downloader),
is_paused=is_paused,
tag=tags,
cookie=cookie,