From 101b4e143e34cc6b306ffb9e6022298f18496dc3 Mon Sep 17 00:00:00 2001 From: JoeamAmier Date: Tue, 29 Aug 2023 19:14:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/Settings.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/source/Settings.py b/source/Settings.py index bf33baf..29bb42a 100644 --- a/source/Settings.py +++ b/source/Settings.py @@ -1,2 +1,13 @@ +from pathlib import Path + + class Settings: - pass + path = Path("./settings.json") + default = { + "path": "./", + "folder": "Download", + "user-agent": None, + "proxies": None, + "timeout": 10, + "chunk": 256 * 1024, + }