Tweety.py 文件源码

python
阅读 18 收藏 0 点赞 0 评论 0

项目:Twitter 作者: LucasRodriguez 项目源码 文件源码
def main():
    #This handles Twitter authetification and the connection to Twitter Streaming API
    l = StdOutListener()
    auth = OAuthHandler(k.consumer_key, k.consumer_secret)
    auth.set_access_token(k.access_token, k.access_secret)
    stream = Stream(auth, l)


    #This line filter Twitter Streams to capture data by keywords
    stream.filter(languages=["en"], track=[("Valentine")])
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号