The only downloader you need. 下载器的集大成者。
TypeScript asyncasynciobittorentbtcross-platformdownload-managerdownloaderfluent-designftphttp3magnetpyqtpyside6pythonqtquicreactsoftwarestreaming
fix: 来自浏览器插件的下载任务在下载分类开启时会绕过分类
XiaoYouChR0055d14711d1
diff --git a/app/view/windows/main_window.py b/app/view/windows/main_window.pyindex a26166ed..9eae0bf3 100644--- a/app/view/windows/main_window.py+++ b/app/view/windows/main_window.py@@ -13,6 +13,7 @@ from qfluentwidgets import MSFluentWindow, SplashScreen, FluentIcon, NavigationIPushButton, PrimaryPushButton, setTheme, isDarkTheme, setThemeColorfrom app.services.browser_service import BrowserService+from app.services.category_service import categoryServicefrom app.services.core_service import coreServicefrom app.services.feature_service import featureServicefrom app.supports.config import cfg, DEFAULT_HEADERS, AUTHOR_URL, VERSION, FEEDBACK_URL, GD3_COPY_MIME_TYPE, isWin10, \@@ -304,6 +305,17 @@ class MainWindow(MSFluentWindow):def addTask(self, task) -> bool:try:+ if (+ cfg.enableCategory.value+ and task.category+ and task.path == Path(cfg.downloadFolder.value)+ ):+ folder = categoryService.folderOf(task.category)+ if folder:+ task.path = Path(folder)+ for stage in task.stages:+ stage.updateOutputFile(task.path, task.title)+originalTitle = task.titleif deduplicateFilename(task):logger.info("检测到重名文件,已自动重命名 {} -> {}", originalTitle, task.title)