def get_rating(review):
    """
    Gets the rating of the review.
    
    Parameters
    ----------------
    review : BeutifulSoup object
        The review from metacritic as a BeautifulSoup object.
        
    Returns
    ----------------
    rating : string
        Returns the rating as a string.
        If the review doesn't got rated yet, the returned string is empty.
    """
    try:
        METASCORE_CLASSES = ["metascore_w user large movie positive indiv perfect",
                             "metascore_w user large movie positive indiv",
                             "metascore_w user large movie mixed indiv",
                             "metascore_w user large movie negative indiv", ""]

        rating = review.find("div", class_=METASCORE_CLASSES).text
        if len(rating) != 0:
            return rating
        else:
            return ""
    except:
        return ""