Skip to content

Commit

Permalink
修复部分视频弹幕无法加载
Browse files Browse the repository at this point in the history
  • Loading branch information
aaa1115910 committed Jun 12, 2024
1 parent 7f1f7d9 commit 53b5239
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ object BiliHttpApi {
doc.documentElement.normalize()

val chatServer = doc.getElementsByTagName("chatserver").item(0).textContent
val chatId = doc.getElementsByTagName("chatid").item(0).textContent.toInt()
val chatId = doc.getElementsByTagName("chatid").item(0).textContent.toLong()
val maxLimit = doc.getElementsByTagName("maxlimit").item(0).textContent.toInt()
val state = doc.getElementsByTagName("state").item(0).textContent.toInt()
val realName = doc.getElementsByTagName("real_name").item(0).textContent.toInt()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package dev.aaa1115910.biliapi.http.entity.danmaku

data class DanmakuResponse(
val chatserver: String,
val chatId: Int,
val chatId: Long,
val maxLimit: Int,
val state: Int,
val realName: Int,
Expand Down

0 comments on commit 53b5239

Please sign in to comment.