def _family_friendly_search(self, html):
    family_friendly = self._html_search_meta('isFamilyFriendly', html, default=None)
    if (not family_friendly):
        return None
    RATING_TABLE = {'1': 0, 'true': 0, '0': 18, 'false': 18}
    return RATING_TABLE.get(family_friendly.lower())
def _family_friendly_search(self, html):
    family_friendly = self._html_search_meta('isFamilyFriendly', html, default=None)
    if (not family_friendly):
        return None
    RATING_TABLE = {'1': 0, 'true': 0, '0': 18, 'false': 18}
    return RATING_TABLE.get(family_friendly.lower())