Replacing BeautifulSoup with ElementTree