def GetCategoryList(str1: str) ->list:
    """A function to parse str into category list.

    :param str1: category list str.
    :type str1: str.
    :return: the convert result.
    :rtype: list
    """
    result = []
    str1 = str1.replace("'", '')
    if len(str1) > 2:
        str1 = str1[1:len(str1) - 1]
        list1 = str1.split('], ')
        for str2 in list1:
            list2 = str2.strip('[]').split(', ')
            result.append(list2)
    return result
