mirror of
https://github.com/0-8-4/miui-auto-tasks.git
synced 2025-02-07 19:09:59 +00:00
修复取消点赞出错 (#86)
* 修复取消点赞出错 --------- Co-authored-by: 0-8-4 <ljd69154@liangjundi.cn>
This commit is contained in:
parent
371577c001
commit
b232a83a5c
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user