Skip to content

Commit

Permalink
https://github.com/Dawnnnnnn/bilibili-live-tools/issues/188#issuecomm…
Browse files Browse the repository at this point in the history
…ent-477497402
  • Loading branch information
yjqiang committed Mar 31, 2019
1 parent e29957d commit 4246f55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reqs/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ async def buy_gift(user, gift_id, num_sent, ruid, biz_id, coin_type):

@staticmethod
async def fetch_medals(user):
url = f'{API_LIVE}/i/api/medal?page=1&pageSize=50'
json_rsp = await user.bililive_session.request_json('POST', url, headers=user.dict_bili['pcheaders'])
url = f'{API_LIVE}/i/api/medal?page=1&pageSize=50' # max 25,所以黑科技一般能用(233)
json_rsp = await user.bililive_session.request_json('GET', url, headers=user.dict_bili['pcheaders'])
return json_rsp

@staticmethod
Expand Down

0 comments on commit 4246f55

Please sign in to comment.