@property<EOL><INDENT>def logs(self):<DEDENT>
import time<EOL>from datetime import datetime<EOL>from .answer import Answer<EOL>from .question import Question<EOL>from .acttype import CollectActType<EOL>self._make_soup()<EOL>gotten_feed_num = <NUM_LIT:20><EOL>offset = <NUM_LIT:0><EOL>data = {<EOL>'<STR_LIT:start>': <NUM_LIT:0>,<EOL>'<STR_LIT>': self.xsrf<EOL>}<EOL>api_url = self.url + '<STR_LIT>'<EOL>while gotten_feed_num == <NUM_LIT:20>:<EOL><INDENT>data['<STR_LIT>'] = offset<EOL>res = self._session.post(url=api_url, data=data)<EOL>gotten_feed_num = res.json()['<STR_LIT>'][<NUM_LIT:0>]<EOL>soup = BeautifulSoup(res.json()['<STR_LIT>'][<NUM_LIT:1>])<EOL>offset += gotten_feed_num<EOL>zm_items = soup.find_all('<STR_LIT>', class_='<STR_LIT>')<EOL>for zm_item in zm_items:<EOL><INDENT>act_time = datetime.strptime(zm_item.find('<STR_LIT:time>').text, "<STR_LIT>")<EOL>if zm_item.find('<STR_LIT>'):<EOL><INDENT>link = zm_item.find('<STR_LIT>').a<EOL>act_type = CollectActType.INSERT_ANSWER<EOL><DEDENT>elif zm_item.find('<STR_LIT>'):<EOL><INDENT>link = zm_item.find('<STR_LIT>').a<EOL>act_type = CollectActType.DELETE_ANSWER<EOL><DEDENT>else:<EOL><INDENT>continue<EOL><DEDENT>try:<EOL><INDENT>answer_url = Zhihu_URL + link['<STR_LIT>']<EOL>question_url = re_a2q.match(answer_url).group(<NUM_LIT:1>)<EOL>question = Question(question_url, link.text)<EOL>answer = Answer(<EOL>answer_url, question, session=self._session)<EOL>yield CollectActivity(<EOL>act_type, act_time, self.owner, self, answer)<EOL><DEDENT>except AttributeError:<EOL><INDENT>act_type = CollectActType.CREATE_COLLECTION<EOL>yield CollectActivity(<EOL>act_type, act_time, self.owner, self)<EOL><DEDENT><DEDENT>data['<STR_LIT:start>'] = zm_items[-<NUM_LIT:1>]['<STR_LIT:id>'][<NUM_LIT:8>:]<EOL>time.sleep(<NUM_LIT:0.5>)<EOL><DEDENT>
获取收藏夹日志

        :return: 收藏夹日志中的操作，返回生成器
        :rtype: CollectActivity.Iterable