forked from OdinLin/Pyweibo
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
Sleeping and switching tokens aren't properly working yet
page 136 extracted to coms_136
New user coming!
Traceback (most recent call last):
File "pyweibo.py", line 207, in <module>
main()
File "pyweibo.py", line 179, in main
pyweibo.getPostData(args.action, postId, filename, format)
File "C:\Pyweibo-master\Pyweibo-master\lib\Pyweibo.py", line 39, in getPostDat
a
self.weiboapi.mainLoop(command, uid, path, format)
File "C:\Pyweibo-master\Pyweibo-master\lib\weiboApi.py", line 332, in mainLoop
if self.remainHit()>0: # check rate limit
File "C:\Pyweibo-master\Pyweibo-master\lib\weiboApi.py", line 206, in remainHi
t
statu = self.client.account__rate_limit_status()
File "C:\Pyweibo-master\Pyweibo-master\lib\api\weibo.py", line 171, in wrap
raise APIError('21327', 'expired_token', attr)
lib.api.weibo.APIError: APIError: 21327: expired_token, request: account__rate_l
imit_status