add time interval

This commit is contained in:
horhik 2021-09-01 16:59:27 +03:00
parent 6e34bc0a8a
commit cc51cf4dbe

View file

@ -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