Skip to content

Commit 9843667

Browse files
committed
Update README.rst
1 parent bb6ad92 commit 9843667

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

README.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -303,23 +303,23 @@ Collection 代表一个收藏夹,处理收藏夹相关操作。创建一个 Co
303303
304304
url = "http://www.zhihu.com/question/24269892"
305305
question = Question(url)
306-
# 得到排名第一的答案
306+
# 得到排名第一的答案
307307
answer = question.get_top_answer()
308-
# 得到排名第一的答案的作者
308+
# 得到排名第一的答案的作者
309309
user = answer.get_author()
310-
# 得到该作者回答过的所有问题的答案
310+
# 得到该作者回答过的所有问题的答案
311311
user_answers = user.get_answers()
312-
# 输出该作者回答过的所有问题的标题
312+
# 输出该作者回答过的所有问题的标题
313313
for answer in user_answers:
314314
print answer.get_question().get_title()
315-
# 得到该用户的所有收藏夹
315+
# 得到该用户的所有收藏夹
316316
user_collections = user.get_collections()
317317
for collection in user_collections:
318-
# 输出每一个收藏夹的名字
318+
# 输出每一个收藏夹的名字
319319
print collection.get_name()
320-
# 得到该收藏夹下的前十个回答
320+
# 得到该收藏夹下的前十个回答
321321
top_answers = collection.get_top_i_answers(10)
322-
# 把答案内容转成txt,markdown
322+
# 把答案内容转成txt,markdown
323323
for answer in top_answers:
324324
answer.to_txt()
325325
answer.to_md()

0 commit comments

Comments
 (0)