Deal with failed requests and simplify downloaded HTML before saving to disk