Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions novel_crawler/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
## Python爬虫 通用的小说下载器

[Posts: Python爬虫 通用的小说下载器](https://blog.ksable.top/2025/02/03/posts-python-pa-chong-tong-yong-de-xiao-shuo-xia-zai-qi/?keyword=%E5%B0%8F%E8%AF%B4)
[Posts: Python爬虫 通用的小说下载器](https://blog.ksable.top/2025/02/03/posts-python-pa-chong-tong-yong-de-xiao-shuo-xia-zai-qi/)

爬取小说详情页面, 获取小说名称、作者、简介、章节目录等信息
爬取小说章节目录页面, 获取小说所有章节的名称和 URL
爬取小说章节内容页面, 保存到本地
最后去阅读小说了

最新版:[novel_crawler_v.25.07.06][6]
最新版:[novel_crawler_v.25.07.07][7]

## 说明

Expand Down Expand Up @@ -109,9 +109,13 @@ network:

# 失败重试次数
max_retries: 5

# 多线程模式,r
multi_threading: True # 多线程模式
thread_count: 32 # 线程数量

# 请求间隔时间(毫秒)
request_interval_ms: 1000
# 每分钟请求量,设为 None 则不限制
request_interval_time: 1000
```
运行

Expand All @@ -121,6 +125,9 @@ python ***.py config.yml

## 日志

- [novel_crawler_v.25.07.07][7]
- 新增多线程下载模式

- [novel_crawler_v.25.07.06][6]
- 使用 rich 库增强输出
- 增加对 br 标签的特殊处理逻辑
Expand Down Expand Up @@ -156,4 +163,5 @@ python ***.py config.yml
[3]: novel_crawler_v.25.02.03.py
[4]: novel_crawler_v.25.06.02.py
[5]: novel_crawler_v.25.06.05.py
[6]: novel_crawler_v.25.07.06.py
[6]: novel_crawler_v.25.07.06.py
[7]: novel_crawler_v.25.07.07.py
90 changes: 0 additions & 90 deletions novel_crawler/config.yml

This file was deleted.

Loading
Loading