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 6 of 8

0.3.5

-----

- [add] 添加 Answer.collect_num 属性, 获取答案的收藏数
- [add] 添加 Answer.collections 接口, 获取收藏了该答案的收藏夹
- [add] 添加 Collections.logs 接口, 获取收藏夹日志
- [add] 添加 Question.author 属性,获取提问者
- [fix] 修复文档代码的一些错误

前四个功能Thanks `laike9m <https://github.com/laike9m>`__

0.3.4

-----

- [f**K] 随便在知乎上发了个小专栏……不小心就进撕逼大战了 QAQ 我好方~
- [add] 增加了 example 文件夹,里面放一些实例
- [add] Add answer creation_time attribute(Thanks laike9m)
- [add] 添加 Question.creation_time 和 Question.last_edit_time 属性(Thanks laike9m)
- [fix] 修复了 UPVOTE_ANSWER 型的 Activity 的 act.answer.author 全都是匿名用户的 bug(不知道是不是前端改了)

0.3.3

-----

- [fix] 紧急更新,知乎页面上的链接大多数都变成了 https, 暂时只简单的改了一点正则表达式已作为紧急应对,有 bug 请开 issue。

0.3.2

-----

- [change] 改变 Author 类获取 Activities 的机制,判断类型更准确(Thanks `laike9m <https://github.com/laike9m>`__)。
- [change] 为方便以后写测试,类架构修改为均继承 BaseZhihu 类(Thanks `littlezz <https://github.com/littlezz>`__)。

0.3.1

-----

- [fix] 修复因为知乎 Answer 的 css class 更改导致的 Answer 类 content 属性获取不正确的 bug
- [fix] 修复历史遗留代码造成使用 profile card 获取头像时,网址不正确的 bug(Thanks `bdqy <https://github.com/bdqy>`__)
- [fix] 修复因答案被和谐造成的 bug(Thanks `littlezz <https://github.com/littlezz>`__)
- [add] 获取用户的一些详细信息,包括微博,所在地,教育情况,所在行业等等(Thanks `zeroxfio <https://github.com/zeroxfio>`__)
- [add] Answer 类增加了获取答案的评论的功能(Thanks `zeroxfio <https://github.com/zeroxfio>`__)
- [add] Me 类增加了发送私信和评论的功能(Thanks `zeroxfio <https://github.com/zeroxfio>`__)
- [add] Me 类增加了给答案点没有帮助的功能(Thanks `lishubing <https://github.com/lishubing>`__)
- [add] Me 类增加了屏蔽用户,屏蔽话题的功能(Thanks `lishubing <https://github.com/lishubing>`__)

0.3.0

-----

- [fix] 修复 Author 类的 get_followed_columns 接口获取到的 Column 对象调用 followed_num 函数可能获取不到正确数量的 bug
- [fix] 修复 Author 类的 get_followed_columns 接口获取到的 Column 对象处于未登录状态的 bug
- [add] Author 类增加获取用户关注的话题数的接口(followed_topic_num)
- [add] Author 类增加获取用户关注的话题的接口 (followed_topics)

Page 6 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.