biquge-downloader
v1.0.4
Published
## Description:
Downloads
16
Readme
biquge-downloader(笔趣阁小说下载器)
Description:
This package use for download the novel from a website which name is biquge(笔趣阁)。
这个包是用来爬去笔趣阁上的小说的,使用很简单,
How to use it
step 1: go to the website and pick a novel which you like。then click it
第一步:去这个网站,找一本你喜欢的小说,点进去
https://www.biquge.com.cn
step 2: you will come the novel's content page, and copy the current URL
第二步:你应该已经到了小说的目录页,然后把当前的网址复制一下
//example:
https://www.biquge.com.cn/book/31833/
step 3: install package
第三步:到你的代码你,安装包
npm install biquge-downloader
step 4: use it
第四步:引入使用
const downloader = request('biquge-downloader')
downloader('https://www.biquge.com.cn/book/31833/', 'titleName')
step 5: wait a minute, and you will see blow console log information
第五步: 耐心等待,会有如下打印信息。只要没报错就是正在下载。
//example:
parsing content page...
parsing each chapter...
parsing each chapter...
......
Chapter 0 =>开新书咯! write in complete
Chapter 1 =>引子 write in complete
Chapter 2 =>第一章 巫家 write in complete
Chapter 3 =>第二章 猎 write in complete
Chapter 4 =>第三章 强袭 write in complete
Chapter 5 =>第四章 那一跪 write in complete
......
Final step:check your root file path, and you will find the txt file.
最后一步: 下载完成后,看你的根目录下会出现一个txt文件