substituted beautiful soup for lxml