Switch to using lxml instead, its a lot faster