code: def get_encodings_from_content(content):
      
  
      charset_re = re.compile(r'<meta.*?charset=["\']*(.+?)["\'>]', flags=re.I)
  
      return charset_re.findall(content)
docs: Returns encodings from given content string.
  
      :param content: bytestring to extract encodings from.