最近想构建一个本地知识库。
需要从知乎下载文章、专栏、回答,并以 Markdown 格式保存到本地。
自己写了个脚本,
可以判断给定 url 的类型,是文章、专栏还是回答,三种类型的处理方式不同; 然后将图片保存至本地,并将转换的 Markdown 中图片 url 更换为本地路径,使图片可以在本地显示。
运行代码
python app.py
This project forked from chenluda/zhihu-download
将知乎专栏文章转换为 Markdown 文件保存到本地
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.