Removed slow BeautifulSoup encoding detection