twitter_collector.py 文件源码

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

项目:fett 作者: dwyerk 项目源码 文件源码
def limit_handled(cursor: tweepy.Cursor):
    """Wrap cursor access with rate limiting

    :param cursor: The cursor to siphon
    :returns: Cursor items

    """
    while True:
        try:
            yield cursor.next()
        except tweepy.RateLimitError:
            time.sleep(15 * 60)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号