Use lxml instead of BeautifulSoup.