Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/crazymryan/node-reptile
nodejs 将掘金 html 转化成 markdown
https://github.com/crazymryan/node-reptile
html html-to-markdown juejin markdown node-reptile nodejs reptile
Last synced: 16 days ago
JSON representation
nodejs 将掘金 html 转化成 markdown
- Host: GitHub
- URL: https://github.com/crazymryan/node-reptile
- Owner: CrazyMrYan
- Created: 2023-07-27T13:33:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-10T02:56:44.000Z (4 months ago)
- Last Synced: 2024-10-17T12:33:22.163Z (about 1 month ago)
- Topics: html, html-to-markdown, juejin, markdown, node-reptile, nodejs, reptile
- Language: JavaScript
- Homepage:
- Size: 345 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# node-reptile
> 这是一个通过掘金文章 URL 进行爬取网页上的爬虫工具,会将网页上的图片保存到本地,然后转化为markdown文件
![](./images/[email protected])
## 启动方式
```shell
yarn installyarn dev
```## TODO LIST
- [x] html 转化 markdown 文件
- [x] 保存 html 中的图片文件
- [x] 替换 html 图片中地址为本地路径
- [x] markdown 文件代码块高亮
- [x] 通过用户ID爬去所有文章
- [x] 通过终端拿到用户的所有文章内容## 该仓库说明博客
[第一章](https://juejin.cn/post/7260852622885896249)
[第二章](https://juejin.cn/post/7260852622885896249)