@property<EOL><INDENT>def collections(self):<DEDENT>
from .collection import Collection<EOL>if self.url is None or self.collection_num == <NUM_LIT:0>:<EOL><INDENT>return<EOL><DEDENT>else:<EOL><INDENT>collection_num = self.collection_num<EOL>for page_index in range(<NUM_LIT:1>, (collection_num - <NUM_LIT:1>) // <NUM_LIT:20> + <NUM_LIT:2>):<EOL><INDENT>html = self._session.get(<EOL>self.url + '<STR_LIT>' + str(page_index)).text<EOL>soup = BeautifulSoup(html)<EOL>collections_names = soup.find_all(<EOL>'<STR_LIT:a>', class_='<STR_LIT>')<EOL>collection_follower_nums = soup.find_all(<EOL>'<STR_LIT>', class_='<STR_LIT>')<EOL>for c, f in zip(collections_names, collection_follower_nums):<EOL><INDENT>c_url = Zhihu_URL + c['<STR_LIT>']<EOL>c_name = c.text<EOL>c_fn = int(re_get_number.match(f.contents[<NUM_LIT:2>]).group(<NUM_LIT:1>))<EOL>yield Collection(c_url, self, c_name, c_fn,<EOL>session=self._session)<EOL><DEDENT><DEDENT><DEDENT>
获取用户收藏夹.

        :return: 用户收藏夹，返回生成器
        :rtype: Collection.Iterable