feat: 引入 so-novel submodule 并提供非交互下载工具
- vendor/so-novel: 上游 v1.12.0 (规则驱动的书源抓取/下载引擎) - tools/src: ToolMain 封装 search/download/toc/sources,stdout 只输出 JSON - tools/build.ps1: 自动定位/下载 JDK21,按平台显式激活 javet 原生库 profile - bin/novel.ps1|.cmd: 命令行入口(人读输出或 -Json) - SKILL.md/README.md: 使用说明与下载原理分析
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
[global]
|
||||
# 关闭 GitHub 自动更新检查(内网/无外网环境必须为 0)
|
||||
auto-update = 0
|
||||
gh-proxy =
|
||||
cf-bypass =
|
||||
|
||||
[download]
|
||||
# 默认落盘目录,由 tools/build.ps1 按仓库位置生成
|
||||
download-path = @BOOKS@
|
||||
extname = txt
|
||||
txt-encoding = UTF-8
|
||||
preserve-chapter-cache = 0
|
||||
# 工具模式不需要终端进度条,日志统一走 stdout 捕获
|
||||
enable-progressbar = 0
|
||||
|
||||
[source]
|
||||
language = zh-CN
|
||||
# 书源规则绝对路径,避免依赖运行目录
|
||||
active-rules = @RULES@
|
||||
source-id =
|
||||
search-limit = 30
|
||||
search-filter = 1
|
||||
|
||||
[crawl]
|
||||
concurrency =
|
||||
min-interval = 200
|
||||
max-interval = 400
|
||||
enable-retry = 1
|
||||
max-retries = 3
|
||||
retry-min-interval = 2000
|
||||
retry-max-interval = 4000
|
||||
|
||||
[web]
|
||||
enabled = 0
|
||||
port = 7765
|
||||
|
||||
[cookie]
|
||||
qidian =
|
||||
|
||||
[proxy]
|
||||
enabled = 0
|
||||
host = 127.0.0.1
|
||||
port = 7890
|
||||
Reference in New Issue
Block a user