可以先判断，而不是用异常
if 'user' not in weibo:
     continue
user = weibo['user']