@property<EOL><INDENT>def activities(self):<DEDENT>
from .activity import Activity<EOL>if self.url is None:<EOL><INDENT>return<EOL><DEDENT>gotten_feed_num = <NUM_LIT:20><EOL>start = '<STR_LIT:0>'<EOL>api_url = self.url + '<STR_LIT>'<EOL>while gotten_feed_num == <NUM_LIT:20>:<EOL><INDENT>data = {'<STR_LIT>': self.xsrf, '<STR_LIT:start>': start}<EOL>res = self._session.post(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>acts = soup.find_all(<EOL>'<STR_LIT>', class_='<STR_LIT>')<EOL>start = acts[-<NUM_LIT:1>]['<STR_LIT>'] if len(acts) > <NUM_LIT:0> else <NUM_LIT:0><EOL>for act in acts:<EOL><INDENT>if act.attrs['<STR_LIT>'] == "<STR_LIT>":<EOL><INDENT>continue<EOL><DEDENT>yield Activity(act, self._session, self)<EOL><DEDENT><DEDENT>
获取用户的最近动态.

        :return: 最近动态，返回生成器，具体说明见 :class:`.Activity`
        :rtype: Activity.Iterable