Files
spider/config.yml
toom1996 d8f667e391 update
2026-09-13 00:52:09 +08:00

14 lines
662 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 爬虫框架通用配置
app:
max_co: 3 # 默认最大并发协程数
debug: false # 开发调试仅打印控制台;入库设为 false
# 入库管线:爬虫 → 后台 ingest 接口(HMAC 签名),替代直写 brand_runway
# enabled: true 时,vogue 走秀改为签名 POST 上送元数据,由后台 worker 异步下载入库。
# spider 不再直连数据库:品牌任务经 GET /admin/internal/crawl/brands 拉取。
# secret / hashid_secret 必须与后台 INGEST_SECRET / HASHID_SECRET 完全一致。
ingest:
enabled: true
endpoint: "http://localhost:8092/admin/internal/ingest"
secret: "dev-ingest-secret-2026"
hashid_secret: ""