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