How can i re-initialize the twitter filter stream?

32 views
Skip to first unread message

ysi...@gmail.com

unread,
Mar 8, 2014, 4:07:26 AM3/8/14
to twe...@googlegroups.com
Hi ,
I'm using tweepy to listen to a variable number of hashtags :

twitterStream=Stream(auth,listener())
twitterStream.filter(track=['hashtags separated by comma'])

now what i wanna do is in every 3 hours i should get the hashtags from database, close the stream ,then open it with the new hashtags.

thanks


Reply all
Reply to author
Forward
0 new messages