mirror of
https://github.com/hect0x7/JMComic-Crawler-Python.git
synced 2025-09-26 22:31:30 +08:00

Some checks failed
Auto Release & Publish / release (push) Has been cancelled
--------- Co-authored-by: RSLN-creator <3316399314@qq.com>
34 lines
787 B
YAML
34 lines
787 B
YAML
# 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次,忽略该域名,不再重试 |