Merge pull request #10 from brainbush/patch-1

修复以获取正确的token
This commit is contained in:
John Smith 2020-05-20 18:37:20 +08:00 committed by GitHub
commit d173228c5f
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,