JMComic-Crawler-Python/assets/option/option_test_api.yml
hect0x7 92f8b2643d
Some checks failed
Auto Release & Publish / release (push) Has been cancelled
v2.6.10: 文件夹名称支持繁简转换,dir_rule增加normalize_zh配置 (#486) (#485)
2025-10-27 16:36:14 +08:00

35 lines
809 B
YAML
Raw 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.

# GitHub Actions 测试用
# 移动端配置
dir_rule:
normalize_zh: zh-cn
rule: Bd_Aauthor_Aid_Pindextitle
client:
impl: api
retry_times: 3
postman:
meta_data:
timeout: 15
domain:
html:
- jmcomic1.me
- jmcomic.me
# 插件配置
plugins:
after_init:
- plugin: usage_log # 实时打印硬件占用率的插件
kwargs:
interval: 0.5 # 间隔时间
enable_warning: false # 不告警
- plugin: client_proxy
kwargs:
proxy_client_key: photo_concurrent_fetcher_proxy
whitelist: [ api, ]
- plugin: advanced_retry
kwargs:
retry_config:
retry_rounds: 3 # 一共对域名列表重试3轮
retry_domain_max_times: 5 # 当一个域名重试次数超过5次忽略该域名不再重试