From cc51cf4dbea8584c2fd28bb41328df12c71a09f6 Mon Sep 17 00:00:00 2001 From: horhik Date: Wed, 1 Sep 2021 16:59:27 +0300 Subject: [PATCH] add time interval --- src/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index 255a57b..05283c6 100644 --- a/src/main.py +++ b/src/main.py @@ -130,8 +130,9 @@ def get_new_posts(): print(Style.RESET_ALL) continue print("Posting... ", post.url) - # toot(post.url, post.caption) + toot(post.url, post.caption) mark_as_posted(str(post.url)) + time.sleep(5) else: return