added .strip to urls in sitemap in case of newline characters
Strip whitespace from urls in all py scripts. Changed .content back to .text