mirror of
https://github.com/hect0x7/JMComic-Crawler-Python.git
synced 2025-11-04 14:49:43 +08:00
35 lines
809 B
YAML
35 lines
809 B
YAML
# 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次,忽略该域名,不再重试 |