commit
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
# ========== 服务配置 ==========
|
||||
server:
|
||||
host: "0.0.0.0"
|
||||
port: 8020
|
||||
port: 8080
|
||||
debug: false
|
||||
reload: false
|
||||
|
||||
@@ -33,6 +33,19 @@ browser_pool:
|
||||
preheat_enabled: true # 是否启用预热
|
||||
preheat_url: "https://creator.xiaohongshu.com/login" # 预热URL(根据login.page自动调整)
|
||||
|
||||
# ========== AdsPower指纹浏览器配置 ==========
|
||||
adspower:
|
||||
enabled: true # 是否启用AdsPower指纹浏览器(生产环境建议启用)
|
||||
api_base: "http://local.adspower.net:50325" # AdsPower本地API地址
|
||||
api_key: "e5afd5a4cead5589247febbeabc39bcb" # AdsPower API Key(可选)
|
||||
user_id: "user_h235l72" # AdsPower用户ID(可选)
|
||||
default_group_id: "0" # 默认分组ID
|
||||
# 指纹配置
|
||||
fingerprint:
|
||||
automatic_timezone: true # 自动设置时区
|
||||
language: ["zh-CN", "zh"] # 浏览器语言
|
||||
user_agent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" # User-Agent
|
||||
|
||||
# ========== 登录/绑定功能配置 ==========
|
||||
login:
|
||||
headless: false # 登录/绑定时的浏览器模式: false=有头模式(配合Xvfb避免被检测),true=无头模式
|
||||
@@ -59,6 +72,9 @@ scheduler:
|
||||
proxy_pool:
|
||||
enabled: true # 启用代理池,避免IP被风控
|
||||
api_url: "http://api.tianqiip.com/getip?secret=lu29e593&num=1&type=txt&port=1&mr=1&sign=4b81a62eaed89ba802a8f34053e2c964"
|
||||
# 代理认证信息(如需)
|
||||
username: "" # 代理用户名,白名单模式可留空
|
||||
password: "" # 代理密码,白名单模式可留空
|
||||
|
||||
# ========== 阿里云短信配置 ==========
|
||||
ali_sms:
|
||||
|
||||
Reference in New Issue
Block a user