File tree Expand file tree Collapse file tree
src/main/java/com/pcdd/sonovel/action Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77## 前言
88
9- 适合用户:既想免费看正版付费新书,又想获得更佳的阅读体验的网络文学爱好者
9+ 适合用户:既想免费看正版付费新书,又追求更佳阅读体验的网络文学爱好者。
1010
11- 适用场景:国内网上 98% 的 txt 、epub 等格式的小说都是完本。如果想看新书,要么去正版平台付费,要么笔趣阁等一类网站 ,要么用”阅读“ (仅限安卓)等一类
12- APP。其实这两个方案足够多数人用了 ,但总会有众口难调的情况:嫌弃 UI
13- 难看的、吐槽功能的、受限于平台的。这时阅读器的优势就体现出来了: DIY。这个工具最大的意义就是能把连载的新书下载为 epub
14- 等电子书格式,这样就能导入自己喜爱的阅读器
11+ 适用场景:国内网上 98% 的 TXT 、EPUB 等格式的小说都是完本。如果想看新书,要么去起点等一类的正版平台付费阅读,要么去笔趣阁等一类网站 ,要么用“阅读” (仅限安卓)等一类
12+ APP。其实这些方案足够很多人用了 ,但总会有众口难调的情况:嫌弃 UI
13+ 难看的、吐槽功能的、受限于平台的。这时阅读器的优势便显现出来了—— DIY。这个工具最大的意义就是能把连载的新书免费下载为 EPUB
14+ 等电子书格式,从而导入自己喜爱的阅读器。
1515
16- 对于完本小说,本工具依然可以搜索下载 。若出现错别字、排版等问题,建议自行搜索下载对应精校版
16+ 对于完本小说,本工具同样可以搜索下载 。若出现错别字、排版等问题,建议自行搜索下载对应精校版。
1717
1818## 介绍
1919
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ threads = -1
2020
2121[retry]
2222# 最大重试次数 (针对首次下载失败的章节)
23- max-attempts = 5
23+ max-attempts = 3
2424# 重试爬取最小间隔 (毫秒)
2525min = 1000
2626# 重试爬取最大间隔 (毫秒)
Original file line number Diff line number Diff line change 11Windows 用户
2- 运行 exe
2+ 运行 SoNovel. exe
33
44macOS 用户
55运行 macos-run.sh
@@ -16,13 +16,13 @@ Linux 用户
1616
1717
1818温馨提示
19- - 将终端窗口最大化,使用体验更佳
20- - config.ini 是配置文件,书源、下载格式在此修改,修改后无需重启(不保证非 Windows 适用)
21- - 如何选择适合自己的书源:https://github.com/freeok/so-novel/issues/50
22- - 若无法搜索 ,建议多次尝试、 稍后再试、检查网络环境
23- - 若章节下载失败,可尝试增大爬取间隔,直至合适为止
24- - 若认为下载速度较慢,可适当减小爬取间隔,直至合适为止
25- - 爬取间隔过小可能会导致 IP 被部分书源限流,短时间内将无法使用
19+ - 为获得更好的使用体验,请将终端窗口最大化。
20+ - config.ini 是配置文件,您可以在其中修改书源和下载格式。修改后无需重启应用(非 Windows 系统的兼容性未完全保证)。
21+ - 如何选择适合自己的书源,请参考 :https://github.com/freeok/so-novel/issues/50。
22+ - 如果搜索失败 ,建议多次尝试, 稍后再试,并检查您的网络连接。
23+ - 若章节下载失败,您可以尝试增大爬取间隔,直到找到合适的设置。
24+ - 如果认为下载速度较慢,适当减小爬取间隔可能有助于提高速度,直到达到合适的平衡。
25+ - 请注意,设置过小的爬取间隔可能会导致部分书源对您的 IP 限流,从而无法正常使用。
2626
2727
2828问题反馈
Original file line number Diff line number Diff line change 66
77 <groupId >com.pcdd</groupId >
88 <artifactId >so-novel</artifactId >
9- <version >1.7.3 </version >
9+ <version >1.7.4 </version >
1010 <packaging >jar</packaging >
1111
1212 <name >so-novel</name >
178178 <txtFileVersion >${project.version} .0</txtFileVersion >
179179 <!-- 中文会乱码,待解决 -->
180180 <fileDescription >Interactive online novel downloader</fileDescription >
181- <copyright >Copyright (C) 2021 pcdd. All rights reserved.</copyright >
181+ <copyright >Copyright (C) 2021-2025 pcdd. All rights reserved.</copyright >
182182 <productVersion >${project.version} .0</productVersion >
183183 <txtProductVersion >${project.version} .0</txtProductVersion >
184184 <!-- 中文会乱码,待解决 -->
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ private static List<SourceInfo> testWebsiteDelays(List<Rule> rules) {
5757 List <SourceInfo > res = new ArrayList <>();
5858 ExecutorService executorService = Executors .newFixedThreadPool (10 );
5959 CompletionService <SourceInfo > completionService = new ExecutorCompletionService <>(executorService );
60- int timeout = 5000 ;
60+ int timeout = 3000 ;
6161
6262 for (Rule r : rules ) {
6363 completionService .submit (() -> {
@@ -82,7 +82,6 @@ private static List<SourceInfo> testWebsiteDelays(List<Rule> rules) {
8282 });
8383 }
8484
85- // 获取任务结果并按延迟排序
8685 for (int i = 0 ; i < rules .size (); i ++) {
8786 // 获取最先完成的任务的结果
8887 res .add (completionService .take ().get ());
You can’t perform that action at this time.
0 commit comments