From 49bed784d99e6fe489ea0630601168f0b47eebbc Mon Sep 17 00:00:00 2001 From: egrcc Date: Wed, 18 May 2016 16:45:27 +0800 Subject: [PATCH 1/2] topic-num --- zhihu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zhihu.py b/zhihu.py index e00e939..68af702 100755 --- a/zhihu.py +++ b/zhihu.py @@ -662,7 +662,7 @@ def get_topics_num(self): if self.soup == None: self.parser() soup = self.soup - topics_num = soup.find_all("div", class_="zm-profile-side-section-title")[1].strong.string.encode("utf-8") + topics_num = soup.find_all("div", class_="zm-profile-side-section-title")[-1].strong.string.encode("utf-8") I='' for i in topics_num: if i.isdigit(): From 1e24d4dfa960eacddb566f00269eb3d1878a4e00 Mon Sep 17 00:00:00 2001 From: egrcc Date: Mon, 18 Jul 2016 19:32:34 +0800 Subject: [PATCH 2/2] deprecated --- README.rst | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/README.rst b/README.rst index e4fb77f..9b5ad28 100644 --- a/README.rst +++ b/README.rst @@ -1,10 +1,7 @@ zhihu-python:获取知乎信息 =============================== -:Author: `egrcc `_ ( `微博 `_ | `电邮 `_ ) -:Contributors: 参见 `Contributors `_ -:Update: 04/23 2016 - +**注意: 本项目不再维护更新!** .. contents:: @@ -875,11 +872,4 @@ zhihu.Post ---- 知乎专栏文章操作类 **Returns**:一个 Column 的实例对象 - -联系我 ----------- - -- 微博:http://weibo.com/u/2948739432 -- github:https://github.com/egrcc -- email:zhaolujun1994@gmail.com