CoolBotDataSys/config/config.yaml

45 lines
694 B
YAML

# CoolBotDataSys 配置文件
database:
host: "127.0.0.1"
port: 3306
user: "root"
password: "Coolbot123"
database: "coolbot_data"
charset: "utf8mb4"
redis:
host: "127.0.0.1"
port: 6379
db: 0
app:
host: "0.0.0.0"
port: 8080
debug: true
log_level: "INFO"
crawlers:
yichens:
name: "一尘网"
base_url: "https://www.yichens.com"
enabled: true
interval_minutes: 60
aicang:
name: "爱藏网"
base_url: "https://www.aicang.com"
enabled: false
interval_minutes: 60
notification:
feishu:
enabled: true
webhook_url: ""
tasks:
daily_report:
enabled: true
cron: "0 9 * * *"
crawl_interval:
cron: "*/30 * * * *"