f = open(os.path.join(cfg.out_dir, cfg.rss_file), "w")
# Ugly XML beautification
s = rss.to_xml().replace("<", "\n<").replace("\n\n", "\n")[1:]
f = open(os.path.join(cfg.out_dir, cfg.rss_file), "w")
# Ugly XML beautification
s = rss.to_xml().replace("<", "\n<").replace("\n\n", "\n")[1:]