コード例 #1
0
def parse():
    """
    :return: a map of icon codes and their unicode values
    """
    parser = FontAwesomeHTMLParser()
    data = cheatsheet_request.getCheatSheetString("http://fortawesome.github.io/Font-Awesome/cheatsheet/")
    parser.feed(data)
    return parser.famap
コード例 #2
0
def parse():
    """
    :return: a map of icon codes and their unicode values
    """
    parser = TypiconsHTMLParser()
    data = cheatsheet_request.getCheatSheetString("http://typicons.com/")
    parser.feed(data)
    return parser.famap