聪明小米 发表于 2026-11-7 00:21:50

Node.js - 笔趣阁小说爬虫程序包含采集下载 - 20230910

https://bimgs.uso.cc/ff/2023/09/anubis.cc-54-yTI1PgndOa.webp
https://bimgs.uso.cc/ff/2023/09/anubis.cc-54-e1cH89CP4J.webp
https://bimgs.uso.cc/ff/2023/09/anubis.cc-54-adwfGYtRLr.webp
https://bimgs.uso.cc/ff/2023/09/anubis.cc-54-a8HlZg1BdD.webp
https://bimgs.uso.cc/ff/2023/09/anubis.cc-54-NSnZm5TLYI.webp
https://bimgs.uso.cc/ff/2023/09/anubis.cc-54-kzRl1bPQcW.webp


程序介绍最近一直想用Node.js 做个爬虫,找到找去,还是爬小说号爬一点,这是第二版,第一版采集1000章需要用到约10分钟,第二版1000章只需6秒左右,具体根据你的设备性能以及当时网络有关。


使用方法
* 请预先准备Node.js 环境
========================
Node.js下载:https://nodejs.org/zh-cn
========================
安装Node.js环境后再去下载程序
========================小说爬虫下载:https://wwcm.lanzoub.com/iXINq17y4k4b
========================得到爬虫程序文件后,解压,并在当前文件夹中,打开终端或者CMD

输入 npm install 安装依赖

默认采集的目标站点:https://www.zzxx.org/

通过搜索的方式找到你所需要采集的小说,并点进去

得到:https://www.zzxx.org/xs/5604/ 这个链接,5604 则是小说ID

打开 app.js 文件的 第6行 替换掉ID 随后

输入 npm run start 开始采集
========================
软件图集
https://bimgs.uso.cc/ff/2023/09/anubis.cc-54-yTI1PgndOa.webphttps://bimgs.uso.cc/ff/2023/09/anubis.cc-54-e1cH89CP4J.webphttps://bimgs.uso.cc/ff/2023/09/anubis.cc-54-adwfGYtRLr.webphttps://bimgs.uso.cc/ff/2023/09/anubis.cc-54-a8HlZg1BdD.webphttps://bimgs.uso.cc/ff/2023/09/anubis.cc-54-NSnZm5TLYI.webphttps://bimgs.uso.cc/ff/2023/09/anubis.cc-54-kzRl1bPQcW.webp


更好的阅读体验移步:https://4z1.cn/archives/development/3










补充内容 (2023-9-12 14:14):
下载链接 https://wwcm.lanzoub.com/iXINq17y4k4b
下载链接 https://wwcm.lanzoub.com/iXINq17y4k4b
下载链接 https://wwcm.lanzoub.com/iXINq17y4k4b

超级小爱 发表于 2026-11-7 00:22:35

这整合得挺全,回头试试
页: [1]
查看完整版本: Node.js - 笔趣阁小说爬虫程序包含采集下载 - 20230910