添加 README.md
This commit is contained in:
parent
d069b3c551
commit
e1c4836bfd
41
README.md
Normal file
41
README.md
Normal file
@ -0,0 +1,41 @@
|
||||
## 牛客网 面试宝典爬取工具
|
||||
|
||||
### 项目简介
|
||||
|
||||
项目使用nodejs开发
|
||||
|
||||
可以爬取牛客网 面经汇总 > 面试宝典 部分教程:https://www.nowcoder.com/interview/center?parentJobId=0
|
||||
|
||||
(例如:https://m.nowcoder.com/tutorial/94/ea1986fcff294f6292385703e94689e8)
|
||||
|
||||
|
||||
|
||||
### 项目使用
|
||||
|
||||
> 项目使用 wkhtmltopdf 将爬取到的 html 转换为 pdf 文件,所以如果您需要生成 pdf文件,需要安装一下,下载地址:
|
||||
>
|
||||
> https://wkhtmltopdf.org/
|
||||
|
||||
首先克隆仓库,并进入项目目录
|
||||
|
||||
```bash
|
||||
git clone xxxxx
|
||||
cd
|
||||
```
|
||||
|
||||
然后使用安装依赖
|
||||
|
||||
```bash
|
||||
npm i
|
||||
```
|
||||
|
||||
修改 `main.js` 代码
|
||||
|
||||
运行
|
||||
|
||||
```bash
|
||||
node main.js
|
||||
```
|
||||
|
||||
完成!
|
||||
|
Loading…
Reference in New Issue
Block a user