基本完成
This commit is contained in:
+12
-2
@@ -17,10 +17,20 @@ class ClientSettings(BaseSettings):
|
||||
WEB_PORT: int = 8088
|
||||
|
||||
# -------------------------------------------------------
|
||||
# AdsPower 本地 API
|
||||
# 浏览器模式:chrome = 本机真实 Chrome/Edge(默认,免费)
|
||||
# adspower = AdsPower 指纹浏览器
|
||||
# -------------------------------------------------------
|
||||
BROWSER_MODE: str = "chrome"
|
||||
|
||||
# chrome 模式:浏览器可执行文件路径(空=自动探测,优先 Chrome 其次 Edge)
|
||||
BROWSER_PATH: str = ""
|
||||
# chrome 模式:独立用户数据目录(空=默认 client/data/chrome_profile,持久化登录态)
|
||||
BROWSER_PROFILE_DIR: str = ""
|
||||
# chrome 模式:CDP 调试端口
|
||||
BROWSER_DEBUG_PORT: int = 9222
|
||||
|
||||
# adspower 模式:本地 API 与 Profile ID
|
||||
ADSPOWER_API_URL: str = "http://local.adspower.net:50325"
|
||||
# 要使用的 AdsPower Profile ID(在 config.env 或面板中配置)
|
||||
ADSPOWER_USER_ID: str = ""
|
||||
|
||||
# -------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user