Moved timelines for users, likes, followers, following and conversations to Twitter handler

This commit is contained in:
2022-11-07 13:55:08 -06:00
parent 23af944fba
commit dfcd63b9b6
3 changed files with 100 additions and 114 deletions

View File

@@ -62,6 +62,10 @@ class ConversationBuffer(SearchBuffer):
last_thread_id = None
last_reply_id = None
def __init__(self, tweet, *args, **kwargs):
self.tweet = tweet
super(ConversationBuffer, self).__init__(*args, **kwargs)
def start_stream(self, start=False, mandatory=False, play_sound=True, avoid_autoreading=False):
current_time = time.time()
if self.execution_time == 0 or current_time-self.execution_time >= 180 or mandatory == True: