import frmWrk.website as website import feed_generator from time import sleep webserver = website.WebServer("", 3000, "./src") webserver.start() while True: feed = feed_generator.make_rss_feed("feed_articles", "Vantens", "https://vanten-s.com/", "Vantens personal feed") with open("src/rss.xml", "w") as f: f.write(feed) try: sleep(15) except KeyboardInterrupt: break webserver.close()