Avoid encoding error by letting lxml parse the document and requests check for redirects.