Parses the DOM and returns user friends attributes.

    :type friends_page: :class:`bs4.BeautifulSoup`
    :param friends_page: MAL user friends page's DOM

    :rtype: dict
    :return: User friends attributes.

def parse_friends(self, friends_page):
    """Parses the DOM and returns user friends attributes.

    :type friends_page: :class:`bs4.BeautifulSoup`
    :param friends_page: MAL user friends page's DOM

    :rtype: dict
    :return: User friends attributes.

    """
    user_info = self.parse_sidebar(friends_page)
    second_col = friends_page.find(u'div', {u'id': u'content'}).find(u'table').find(u'tr').find_all(u'td', recursive=False)[1]

    try:
      user_info[u'friends'] = {}

      friends = second_col.find_all(u'div', {u'class': u'friendHolder'})
      if friends:
        for row in friends:
          block = row.find(u'div', {u'class': u'friendBlock'})
          cols = block.find_all(u'div')

          friend_link = cols[1].find(u'a')
          friend = self.session.user(friend_link.text)

          friend_info = {}
          if len(cols) > 2 and cols[2].text != u'':
            friend_info[u'last_active'] = utilities.parse_profile_date(cols[2].text.strip())

          if len(cols) > 3 and cols[3].text != u'':
            friend_info[u'since'] = utilities.parse_profile_date(cols[3].text.replace(u'Friends since', '').strip())
          user_info[u'friends'][friend] = friend_info
    except:
      if not self.session.suppress_parse_exceptions:
        raise

    return user_info