Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pibigstar/csdn-hexo
批量导出CSDN博客并转为hexo博客样式
https://github.com/pibigstar/csdn-hexo
csdn csdnspider hexo hexo-blog
Last synced: about 2 months ago
JSON representation
批量导出CSDN博客并转为hexo博客样式
- Host: GitHub
- URL: https://github.com/pibigstar/csdn-hexo
- Owner: pibigstar
- Created: 2019-09-29T10:37:08.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-18T09:37:00.000Z (almost 4 years ago)
- Last Synced: 2024-06-20T16:44:51.734Z (7 months ago)
- Topics: csdn, csdnspider, hexo, hexo-blog
- Language: Go
- Homepage: https://pibigstar.github.io/
- Size: 158 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 批量导出CSDN博客
> 批量导出`csnd`博客,并转化为`hexo`博客样式,如果你是用富文本编辑器写的则会导出`html`样式注:有些文章可能获取不到造成进度条无法达到100%,如果走到99%,走不动了,直接取消即可
# Quick start
**安装**
```bash
go get github.com/pibigstar/csdn-hexo
```**使用**
```bash
csdn-hexo -username 你的csdn用户名 -cookie 你csdn的cookie -page 1
```
> page不写,默认为下载全部页**完整示例**
```bash
go run main.go -username "junmoxi" -cookie "UserName=junmoxi; UserToken=c3c29cca48be43c4884fe36d052d5851"
```
> 如果想下载别人的文章,那么将`username`更换为别人的即可,cookie还是用你的# 下载
> 为了方便非Go语言用户使用,我也编译出了二进制文件,支持Windows、Linux和MAC用户[点击下载](https://github.com/pibigstar/csdn-hexo/releases/tag/v1.1)
# cookie获取
![](cookie.png)# 关注
> 如果对你有所帮助,请给个star,你的支持是我最大的动力,欢迎关注我微信公众号,一起学习Go语言![](weixin.png)