从Quora获取和解析与主题相关的数据。
qtopic的Python项目详细描述
qtopic
一个python模块,用于从quora获取和解析与主题相关的数据。
安装
使用pip安装:
pip install qtopic
用法
from qtopic import QTopic
best_questions = QTopic.get_best_questions (‘Computer-Programming’)
#do stuff with the parsed data
best_questions[‘links’]
best_questions[‘title’]
best_questions[‘published’]
功能
目前实施
- 跟随数
- 一些追随者的名字
- 相关主题
- 上次更新的源
- 最佳问题
- 热门故事
- 已分解的链接、标题、已发布。
- 开放式问题
- 已分解的链接、标题、已发布。
待办事项
- 以更好的方式存储信息。