Update imaotai.py

pull/9/head
wd210010 1 year ago committed by GitHub
parent 1a89a8b4c7
commit 5dc94d0fd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      imaotai.py

@ -122,7 +122,7 @@ def Push(contents):
if __name__ =='__main__':#line:245 if __name__ =='__main__':#line:245
plustoken =os .getenv ("plustoken")#line:246 plustoken =os .getenv ("plustoken")#line:246
mt_tokens =os .getenv ("MTTokenD")#line:247 mt_tokens =os .getenv ("MTTokenD")#line:247
mt_version ="".join (re .findall ('new__latest__version">(.*?)</p>',requests .get ('https://apps.apple.com/cn/app/i%E8%8C%85%E5%8F%B0/id1600482450').text ,re .S )).replace ('版本 ','')#line:248 mt_version ="".join (re .findall ('whats-new__latest__version">(.*?)</p>',requests .get ('https://apps.apple.com/cn/app/i%E8%8C%85%E5%8F%B0/id1600482450').text ,re .S )).replace ('版本 ','').replace('版本 ','')#line:248
print ('当前最新版本为:'+mt_version )#line:249 print ('当前最新版本为:'+mt_version )#line:249
if not mt_tokens :#line:250 if not mt_tokens :#line:250
print ('MTToken is null')#line:251 print ('MTToken is null')#line:251

Loading…
Cancel
Save