mirror of
https://github.com/czp3009/bilibili-api.git
synced 2024-12-21 20:30:28 +08:00
修复首页->推荐API经常抛出异常的BUG
This commit is contained in:
parent
5a2b1f5f48
commit
760bbe47bf
@ -5,7 +5,13 @@
|
||||
|
||||
# 使用
|
||||
```groovy
|
||||
compile group: 'com.hiczp', name: 'bilibili-api', version: '0.2.0'
|
||||
compile group: 'com.hiczp', name: 'bilibili-api', version: '0.2.1'
|
||||
```
|
||||
|
||||
对于 Android 项目, 如需要解析弹幕, 添加
|
||||
```groovy
|
||||
compile group: 'javax.xml.stream', name: 'stax-api' version: last_version
|
||||
compile group: 'org.codehaus.woodstox', name: 'woodstox-core-asl' version: last_version
|
||||
```
|
||||
|
||||
# 技术说明
|
||||
|
@ -16,7 +16,7 @@ buildscript {
|
||||
}
|
||||
|
||||
group = 'com.hiczp'
|
||||
version = '0.2.0'
|
||||
version = '0.2.1'
|
||||
description = 'Bilibili Android client API library for Kotlin'
|
||||
|
||||
apply plugin: 'kotlin'
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.hiczp.bilibili.api.thirdpart.commons;
|
||||
package com.hiczp.bilibili.api.commons;
|
||||
|
||||
//用于减少包引入
|
||||
|
@ -1,6 +1,6 @@
|
||||
package com.hiczp.bilibili.api
|
||||
|
||||
import com.hiczp.bilibili.api.thirdpart.commons.BoundedInputStream
|
||||
import com.hiczp.bilibili.api.commons.BoundedInputStream
|
||||
import io.ktor.util.InternalAPI
|
||||
import io.ktor.utils.io.errors.EOFException
|
||||
import java.io.InputStream
|
||||
|
@ -134,7 +134,7 @@ data class HomePage(
|
||||
@SerializedName("creative_content")
|
||||
var creativeContent: CreativeContent,
|
||||
@SerializedName("creative_id")
|
||||
var creativeId: Int, // 6578071
|
||||
var creativeId: Long, // 6578071
|
||||
@SerializedName("creative_type")
|
||||
var creativeType: Int, // 2
|
||||
@SerializedName("extra")
|
||||
|
Loading…
Reference in New Issue
Block a user