修复取消点赞出错 (#86)

* 修复取消点赞出错

---------

Co-authored-by: 0-8-4 <ljd69154@liangjundi.cn>
This commit is contained in:
Night-stars-1 2023-02-16 19:47:11 +08:00 committed by GitHub
parent 371577c001
commit b232a83a5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: