JMComic-Crawler-Python/assets/option/option_test_api.yml
hect0x7 7943b9b66a
Some checks failed
Auto Release & Publish / release (push) Has been cancelled
v2.6.7: 优化域名重试策略; 优化禁漫api返回值的json解析 (#472) (#474)
---------

Co-authored-by: RSLN-creator <3316399314@qq.com>
2025-09-09 23:57:48 +08:00

34 lines
787 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:
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次忽略该域名不再重试