优化自动化

This commit is contained in:
huangzhenpc
2025-04-01 16:25:08 +08:00
parent 7dad9f6b2f
commit b20094adfc
10 changed files with 1284 additions and 5 deletions

View File

@@ -4,6 +4,10 @@ global:
timeout: 30
retry_times: 3
# 服务器配置
server_config:
hostname: "sg424" # 服务器标识用于API调用
# 数据库配置
database:
# SQLite配置兼容旧版本
@@ -33,6 +37,8 @@ proxy:
api_url: "https://share.proxy.qg.net/get?key=969331C5&num=1&area=&isp=0&format=txt&seq=\r\n&distinct=false"
batch_size: 100
check_interval: 300
# API专用代理可选
api_proxy: "http://1ddbeae0f7a67106fd58:f72e512b10893a1d@gw.dataimpulse.com:823"
# 注册配置
register:
@@ -44,6 +50,12 @@ register:
email:
file_path: "email.txt"
# 自动服务配置
auto_service:
check_interval: 60 # 检查API状态的间隔
upload_interval: 300 # 上传账号间隔(秒)
email_check_threshold: 30 # 当可用邮箱少于这个数时获取新邮箱
captcha:
provider: "capsolver" # 可选值: "capsolver" 或 "yescaptcha"
capsolver: