准备创建mysqlv1分支的提交
This commit is contained in:
23
config.yaml
23
config.yaml
@@ -6,12 +6,31 @@ global:
|
||||
|
||||
# 数据库配置
|
||||
database:
|
||||
# SQLite配置(兼容旧版本)
|
||||
path: "cursor.db"
|
||||
pool_size: 10
|
||||
|
||||
# MySQL配置
|
||||
host: "localhost"
|
||||
port: 3306
|
||||
username: "auto_cursor_reg"
|
||||
password: "this_password_jiaqiao"
|
||||
database: "auto_cursor_reg"
|
||||
|
||||
# 是否使用Redis缓存
|
||||
# 如果使用Python 3.12,请确保安装redis>=4.2.0而不是aioredis
|
||||
use_redis: true
|
||||
|
||||
# Redis配置(可选,当use_redis为true时生效)
|
||||
redis:
|
||||
host: "127.0.0.1"
|
||||
port: 6379
|
||||
password: ""
|
||||
db: 0
|
||||
|
||||
# 代理配置
|
||||
proxy:
|
||||
api_url: "https://api.proxy.com/getProxy"
|
||||
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
|
||||
|
||||
@@ -28,7 +47,7 @@ email:
|
||||
captcha:
|
||||
provider: "capsolver" # 可选值: "capsolver" 或 "yescaptcha"
|
||||
capsolver:
|
||||
api_key: "CAP-E0A11882290AC7ADE2F799286B8E2DA497D7CD0510BFA477F3900507809F8AA3"
|
||||
api_key: "CAP-36D01B0995C7C8705DF68ACCFE4E2004FE182DDA72AC5A80F25F1E3B601C31F0"
|
||||
website_url: "https://authenticator.cursor.sh"
|
||||
website_key: "0x4AAAAAAAMNIvC45A4Wjjln"
|
||||
yescaptcha:
|
||||
|
||||
Reference in New Issue
Block a user