modify scripts

This commit is contained in:
2025-11-07 10:08:19 +08:00
parent 17356c79f9
commit 15c4f7b823
5 changed files with 115 additions and 105 deletions

View File

@ -9,7 +9,8 @@ import logging
# Paperless 服务器信息
PAPERLESS_URL = "http://localhost:8000/api"
AUTH = HTTPBasicAuth("admin", "admin") # Basic Auth 认证
#AUTH = HTTPBasicAuth("admin", "admin") # Basic Auth 认证 mac上用这个
AUTH = HTTPBasicAuth("admin", "paperless") # Basic Auth 认证NAS上用这个
# 日志配置
logging.basicConfig(level=logging.INFO, format="%(asctime)s [%(levelname)s] %(message)s")