We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c89d050 + 5d0e36e commit 795b194Copy full SHA for 795b194
douyin/douyin_appsign.py
@@ -36,6 +36,12 @@ def getDevice(self):
36
37
def getSign(self, token, query):
38
req = requests.post('https://api.appsign.vip:2688/sign', json={'token': token, 'query': query}).json()
39
+ try:
40
+ while req['message']:
41
+ print('伺服器错误: %s 重试中' % req['message'])
42
+ req = requests.post('https://api.appsign.vip:2688/sign', json={'token': token, 'query': query}).json()
43
+ except:
44
+ pass
45
if req['success']:
46
sign = req['data']
47
else:
0 commit comments