mirror of
https://github.com/levywang/avhub.git
synced 2026-02-21 16:57:21 +08:00
2.Improve backend concurrency\n- Add copyright information 3.Optimize search result sorting rules 4.Add caching functionality and related configurations 5.Update documentation
29 lines
589 B
YAML
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 |