avhub/data/config.yaml
levywang 474b0a3041 feat: 1.Optimize search result label styles and deduplicate API content
2.Improve backend concurrency\n- Add copyright information
3.Optimize search result sorting rules
4.Add caching functionality and related configurations
5.Update documentation
2025-03-15 20:55:34 +08:00

29 lines
589 B
YAML

# config.yaml
app:
cors_origins: ["*"]
cors_credentials: true
cors_methods: ["*"]
cors_headers: ["*"]
files:
hacg_json_path: "/app/data/hacg.json"
video_urls_txt_path: "/app/data/video_urls.txt"
av_spider:
source_url: "https://missav.ai/cn/search/"
proxy_url: "http://192.168.50.3:7890" # http or socks5 proxy
use_proxy: false
use_cache: true # 是否启用缓存
cache_dir: "/app/data/.av" # 缓存目录路径
hacg_spider:
source_url: "https://www.hacg.mov"
logging:
log_file: "main.log"
level: "INFO"
hydra:
run:
dir: "."
output_subdir: null