@property<EOL><INDENT>def top_answers(self):<DEDENT>
from .question import Question<EOL>from .answer import Answer<EOL>from .author import Author, ANONYMOUS<EOL>top_answers_url = Topic_Top_Answers_Url.format(self.id)<EOL>params = {'<STR_LIT>': <NUM_LIT:1>}<EOL>while True:<EOL><INDENT>if params['<STR_LIT>'] > <NUM_LIT:50>:<EOL><INDENT>return<EOL><DEDENT>res = self._session.get(top_answers_url, params=params)<EOL>params['<STR_LIT>'] += <NUM_LIT:1><EOL>soup = BeautifulSoup(res.content)<EOL>if soup.find('<STR_LIT>', class_='<STR_LIT:error>') is not None:<EOL><INDENT>return<EOL><DEDENT>questions = soup.find_all('<STR_LIT:a>', class_='<STR_LIT>')<EOL>answers = soup.find_all('<STR_LIT:a>', class_='<STR_LIT>')<EOL>authors = soup.find_all('<STR_LIT>', class_='<STR_LIT>')<EOL>upvotes = soup.find_all('<STR_LIT:a>', class_='<STR_LIT>')<EOL>for ans, up, q, au in zip(answers, upvotes, questions, authors):<EOL><INDENT>answer_url = Zhihu_URL + ans['<STR_LIT>']<EOL>question_url = Zhihu_URL + q['<STR_LIT>']<EOL>question_title = q.text.strip()<EOL>upvote = up.text<EOL>if upvote.isdigit():<EOL><INDENT>upvote = int(upvote)<EOL><DEDENT>else:<EOL><INDENT>upvote = None<EOL><DEDENT>question = Question(question_url, question_title,<EOL>session=self._session)<EOL>if au.a is None:<EOL><INDENT>author = ANONYMOUS<EOL><DEDENT>else:<EOL><INDENT>author_url = Zhihu_URL + au.a['<STR_LIT>']<EOL>author_name = au.a.text<EOL>author_motto = au.strong['<STR_LIT:title>'] if au.strong else '<STR_LIT>'<EOL>author = Author(author_url, author_name, author_motto,<EOL>session=self._session)<EOL><DEDENT>yield Answer(answer_url, question, author, upvote,<EOL>session=self._session)<EOL><DEDENT><DEDENT>
获取话题下的精华答案.

        :return: 话题下的精华答案，返回生成器.
        :rtype: Answer.Iterable