That looks very much like the result of `lxml.html.parse(None)`, not `lxml.html.parse('notthere.404')`. Oh, and that's because util.get_page returns `None` if it can't find the file, so we need to check for that as well.