def limit_handled(cursor):
while True:
try:
yield cursor.next()
except tweepy.RateLimitError as error:
print('RateLimitError')
print(error)
time.sleep(60 * 5)
except tweepy.TweepError as error:
print('tweepy.TweepError')
print(error)
time.sleep(60 * 5)
py_twitter_scrape.py 文件源码
python
阅读 21
收藏 0
点赞 0
评论 0
评论列表
文章目录