Zhihu-py3

Latest version: v0.3.23

Safety actively analyzes 638646 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 8

0.3.11

------

- [add] Avoid redirection
- [fix] 知乎改了 Topic 的所有问题功能,变成等待回答的功能了

0.3.10

------
- [add] 添加 answer.latest_comments 属性
- [fix] 获取头像失败
- [add] zhihu.ANONYMOUS 表示匿名用户
- [fix] answer.deleted 属性错误
- [fix] 解决一些诡异的用户带来的问题
- [add] post 可保存为 html 格式
- [fix] 修复 Author 的 location education 等属性无法获取的 bug

0.3.9

-----

- [add] Question 和 Answer 添加 deleted 属性
- [fix] 修复了问题没有回答时 Question.answers 出错的问题
- [fix] 修复了回答仅有一页时无法获取按时间排序的答案的问题
- [fix] 修复无法刷新 answer_num 的问题
- [fix] 修复收藏为0时获取收藏数出错的问题
- [fix] 知乎修改了评论的前端代码
- [change] Comment 类现在也提供 datetime.datetime 类型的 creation_time 属性, 去掉 time_string
- [fix] 修复了 topic.question 由于时间戳乘以了 1000 而造成的错误
- [fix] 修复了 topic.top_answer 无法获取到内容的 bug
- [fix] 修复了 topic.hot_answer 无法获取到内容的 bug

0.3.8

-----

- [add] Answer 和 Question 增加 refresh() 方法, 刷新问题答案 object 的属性
- [add] Question 初始化的 url 现在支持 ?sort=created
- [add] 使用带 ?sort=created 的 url 初始化问题时, question.answers 按照时间顺序返回答案
- [add] 添加了 Answer.comment_num 属性, 获取评论数量
- [add] 添加了 Collection.id 属性
- [fix] 现在 Activity.type 变成 read-only property 并加入文档了

全都 Thanks `laike9m <https://github.com/laike9m>`__

0.3.7

-----

- [fix] 修复了用户动态中有关注圆桌行为时会崩溃的 Bug(目前暂时跳过这类动态)。
- [fix] 知乎删除了深网话题,正好Topic类是用的那个话题测试,我还以为代码bug了……现在改成测试「程序员」话题。
- [add] 曾加了获取专栏文章点赞者的功能。

0.3.6

-----

- [fix] 修试图获取登录用户自身 location, business 等属性但自己又未填写时出现的 bug
- [fix] 修复 topic.py 中混合使用 return sth 和 yield sth 导致的旧版本 python 报语法错误的问题
- [add/fix] ActType 中添加了关注收藏夹 (Thanks `cssmlulu <https://github.com/cssmlulu>`__)
- [fix] 修复了 Author.activities 项 answer 的 author 属性不正确的 bug (Thanks `cssmlulu <https://github.com/cssmlulu>`__)

Page 5 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.