From 5dc94d0fd2430dd41ceb7019c3c4a8d0f6f5eaee Mon Sep 17 00:00:00 2001 From: wd210010 <76995206+wd210010@users.noreply.github.com> Date: Tue, 15 Aug 2023 10:29:23 +0800 Subject: [PATCH] Update imaotai.py --- imaotai.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imaotai.py b/imaotai.py index e26bee6..fcb29f9 100644 --- a/imaotai.py +++ b/imaotai.py @@ -122,7 +122,7 @@ def Push(contents): if __name__ =='__main__':#line:245 plustoken =os .getenv ("plustoken")#line:246 mt_tokens =os .getenv ("MTTokenD")#line:247 - mt_version ="".join (re .findall ('new__latest__version">(.*?)

',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">(.*?)

',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 if not mt_tokens :#line:250 print ('MTToken is null')#line:251