From b232a83a5cccc35a116fb14b27868036cb0652a7 Mon Sep 17 00:00:00 2001 From: Night-stars-1 <99261160+Night-stars-1@users.noreply.github.com> Date: Thu, 16 Feb 2023 19:47:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8F=96=E6=B6=88=E7=82=B9?= =?UTF-8?q?=E8=B5=9E=E5=87=BA=E9=94=99=20(#86)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 修复取消点赞出错 --------- Co-authored-by: 0-8-4 --- miuitask.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miuitask.py b/miuitask.py index 04732be..956213b 100644 --- a/miuitask.py +++ b/miuitask.py @@ -71,7 +71,7 @@ class MIUITask: 'cookie': str(self.cookie) } try: - response = requests.get('https://api.vip.miui.com/api/community/post/cancelThumbUp?postId=36625780', + response = requests.get('https://api.vip.miui.com/mtop/planet/vip/content/announceCancelThumbUp?postId=36625780', headers=headers) r_json = response.json() if r_json['code'] == 401: