def load_favorites(self):
    """Fetches the MAL character favorites page and sets the current character's favorites attributes.

    :rtype: :class:`.Character`
    :return: Current character object.

    """
    character = self.session.session.get(u'http://myanimelist.net/character/' + str(self.id) + u'/' + utilities.urlencode(self.name) + u'/favorites').text
    self.set(self.parse_favorites(utilities.get_clean_dom(character)))
    return self
def load_favorites ( self ) : character = self . session . session . get ( u'http://myanimelist.net/character/' + str ( self . id ) + u'/' + utilities . urlencode ( self . name ) + u'/favorites' ) . text self . set ( self . parse_favorites ( utilities . get_clean_dom ( character ) ) ) return self
Fetches the MAL character favorites page and sets the current character's favorites attributes.

    :rtype: :class:`.Character`
    :return: Current character object.