diff --git a/feed_chat_webhook/__main__.py b/feed_chat_webhook/__main__.py index 58872d5..e93ab27 100644 --- a/feed_chat_webhook/__main__.py +++ b/feed_chat_webhook/__main__.py @@ -1,4 +1,5 @@ import feedparser +import time import requests import secret_loader @@ -48,8 +49,9 @@ def check_for_new_updates(): def main(): - check_for_new_updates() - + while True: + check_for_new_updates() + time.sleep(600) if __name__ == '__main__': main()