Skip to content

lifangzheng/weapp-zhihulive

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weapp-zhihulive

基于Zhihu Live数据的微信小程序.数据归知乎所有,本项目用于技术学习

Preview

设计图

如果在wifi情况下或者土豪不介意流量的同学可以直接感受实际使用的动态效果

Getting started

本项目包含服务端和微信小程序全部源代码:

git clone https://github.com/dongweiming/weapp-zhihulivecd weapp-zhihulivetree -L 1
.
├── App # 小程序代码
├── LICENSE
├── README.md
├── Server  # 服务端+爬虫代码
├── screenshot # 设计图和动态效果

启动服务端:

cd Serverpython3 -m venv venv3 --system-site-packagessource venv3/bin/activatepython3 -m pip install -r requirements.txt
# 配置MySQL和Elasticsearchpython crawl.py  # 运行爬虫获取全部Live数据python app.py  # 启动API服务

运行小程序:

  1. 下载并安装小程序开发工具
  2. 启动开发工具,添加项目,目录为App

About

知乎Live微信小程序 & asyncio爬虫

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 54.9%
  • JavaScript 23.8%
  • Jupyter Notebook 21.3%