From 61fbd42585d5aac075d29099f41393f4b190a7b8 Mon Sep 17 00:00:00 2001 From: Edan's Win11 <961150665@qq.com> Date: Wed, 4 Jun 2025 10:42:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8E=BB=E6=8E=89=20conf.py=20=E6=96=87?= =?UTF-8?q?=E4=BB=B6=EF=BC=8C=E6=94=B9=E4=B8=BA=20example=20=E7=A4=BA?= =?UTF-8?q?=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 4 ++++ conf.example.py | 5 +++++ conf.py | 5 ----- 3 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 conf.example.py delete mode 100644 conf.py diff --git a/.gitignore b/.gitignore index 0426a2c..5d33225 100644 --- a/.gitignore +++ b/.gitignore @@ -168,6 +168,10 @@ douyin_uploader/*.json bilibili_uploader/*.json tk_uploader/*.json +# 配置文件 +conf.py + +# 账号文件 cookies # Frontend diff --git a/conf.example.py b/conf.example.py new file mode 100644 index 0000000..b653ae4 --- /dev/null +++ b/conf.example.py @@ -0,0 +1,5 @@ +from pathlib import Path + +BASE_DIR = Path(__file__).parent.resolve() +XHS_SERVER = "http://127.0.0.1:11901" +LOCAL_CHROME_PATH = "" # change me necessary! for example C:/Program Files/Google/Chrome/Application/chrome.exe diff --git a/conf.py b/conf.py deleted file mode 100644 index a6908c0..0000000 --- a/conf.py +++ /dev/null @@ -1,5 +0,0 @@ -from pathlib import Path - -BASE_DIR = Path(__file__).parent.resolve() -XHS_SERVER = "http://127.0.0.1:11901" -LOCAL_CHROME_PATH = "C:\Program Files\Google\Chrome\Application\chrome.exe" # change me necessary! for example C:/Program Files/Google/Chrome/Application/chrome.exe