The only downloader you need. 下载器的集大成者。
TypeScript asyncasynciobittorentbtcross-platformdownload-managerdownloaderfluent-designftphttp3magnetpyqtpyside6pythonqtquicreactsoftwarestreaming
fix(log): 限制旋转日志保留数量
XiaoYouChRf4078b008b9d
diff --git a/Ghost-Downloader-3.py b/Ghost-Downloader-3.pyindex af55808c..5e775791 100644--- a/Ghost-Downloader-3.py+++ b/Ghost-Downloader-3.py@@ -6,7 +6,7 @@ from loguru import loggerfrom app.config.paths import APP_DATA_DIR-logger.add(f"{APP_DATA_DIR}/GhostDownloader.log", rotation="512 KB")+logger.add(f"{APP_DATA_DIR}/GhostDownloader.log", rotation="512 KB", retention=5)def _exceptionHook(exceptionType, value, tb):diff --git a/android/main.py b/android/main.pyindex d5fadeaf..6e0cc6eb 100644--- a/android/main.py+++ b/android/main.py@@ -8,7 +8,7 @@ from loguru import loggerfrom app.config.paths import APP_DATA_DIRPath(APP_DATA_DIR).mkdir(parents=True, exist_ok=True)-logger.add(f"{APP_DATA_DIR}/GhostDownloader.log", rotation="512 KB")+logger.add(f"{APP_DATA_DIR}/GhostDownloader.log", rotation="512 KB", retention=5)def _exceptionHook(exceptionType, value, tb):