Skip to content

Commit

Permalink
修复取消点赞出错 (#86)
Browse files Browse the repository at this point in the history
* 修复取消点赞出错

---------

Co-authored-by: 0-8-4 <ljd69154@liangjundi.cn>
  • Loading branch information
Night-stars-1 and 0-8-4 authored Feb 16, 2023
1 parent 371577c commit b232a83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miuitask.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def cancel_thumb_up(self):
'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:
Expand Down

0 comments on commit b232a83

Please sign in to comment.