修复以获取正确的token

This commit is contained in:
brainbush 2020-05-20 01:06:40 +08:00 committed by GitHub
parent 15669a2084
commit 66cb4a8c93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -461,7 +461,7 @@ class BLiveClient:
return False
try:
async with self._session.get(DANMAKU_SERVER_CONF_URL, params={'id': self._tmp_room_id},
async with self._session.get(DANMAKU_SERVER_CONF_URL, params={'room_id': self._tmp_room_id},
ssl=self._ssl) as res:
if res.status != 200:
logger.warning('room %d getConf失败%d %s', self._tmp_room_id,