add time interval
This commit is contained in:
parent
6e34bc0a8a
commit
cc51cf4dbe
|
@ -130,8 +130,9 @@ def get_new_posts():
|
||||||
print(Style.RESET_ALL)
|
print(Style.RESET_ALL)
|
||||||
continue
|
continue
|
||||||
print("Posting... ", post.url)
|
print("Posting... ", post.url)
|
||||||
# toot(post.url, post.caption)
|
toot(post.url, post.caption)
|
||||||
mark_as_posted(str(post.url))
|
mark_as_posted(str(post.url))
|
||||||
|
time.sleep(5)
|
||||||
else:
|
else:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue