【Bug】【青龙】观看、分享视频失败

Author: stop666twoCreated Jul 27, 2026Updated Jul 27, 2026

版本

BiliTool版本号:v3.8.2.0

青龙版本号:正式版 v2.21.0

确认

  • [yes ] 是的,我已搜索并确认,没有其他相同的议题
  • [yes ] 是的,我确认,已尝试升级bilitool到最新版,但未解决
  • [yes ] 是的,我确认,已尝试升级青龙到最新版,但未解决

服务器架构

  • [yes ] x64
  • arm64
  • arm
  • 其他(请在下面补充)

服务器系统

  • Windows
  • macOS
  • Linux
    • [yes ] Debian
    • Ubuntu
    • Windows
    • Alpine
    • Centos
    • 其他(请在下面补充)

青龙容器类型

  • [yes ] Docker
  • Podman
  • 其他(请在下面补充)

青龙镜像

  • whyour/qinglong:latest(Alpine)
  • [yes ] whyour/qinglong:debian(Debian)

选择的BiliTool运行模式

  • [yes ] dotnet
  • bilitool

如果是青龙拉库相关bug,请贴出拉库方式截图

  • [yes ] 否
  • 是,截图如下

如果是缺失文件相关bug,请贴出容器内文件路径信息

  • [yes ] 否
  • 是,信息如下

查看方式参考文档:提示文件不存在或路径异常怎么排查

Image

问题描述

观看、分享视频失败

日志信息

[12:44:55 INF] ---开始 观看、分享视频 ---
[12:45:58 ERR] [REQUEST]
GET /x/web-interface/ranking/v2?rid=0&type=all HTTP/1.1
Referer: https://www.bilibili.com/
Origin: https://www.bilibili.com
dnt: 1
Host: api.bilibili.com
Accept: application/json, text/plain, */*, application/json; q=0.1, application/xml; q=0.1
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
Connection: keep-alive

[RESPONSE]
HTTP/1.1 200 OK
Date: Mon, 27 Jul 2026 04:45:58 GMT
Connection: keep-alive
Bili-Status-Code: -352
X-Bili-Gaia-Vvoucher: voucher_83cd4992-2b4a-470a-a6b5-e6dbe74b9f39
X-Rid-Result: 2
X-Ticket-Status: 1
Access-Control-Allow-Headers: origin,no-cache,x-requested-with,if-modified-since,pragma,last-modified,cache-control,expires,content-type,access-control-allow-credentials,dnt,x-customheader,keep-alive,user-agent,x-cache-webcdn,x-bilibili-key-real-ip,x-backend-bili-real-ip,x-risk-header,x-event-traceid
Cross-Origin-Resource-Policy: cross-origin
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: https://www.bilibili.com
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,PATCH,HEAD,OPTIONS
Access-Control-Expose-Headers: x-bili-gaia-vvoucher,x-bili-trace-id,x-bili-gaia-param, X-Cache-Webcdn
Cache-Control: no-cache
X-Cache-Webcdn: BYPASS from blzone03
Content-Type: application/json; charset=utf-8
Content-Length: 39
Expires: Mon, 27 Jul 2026 04:45:57 GMT

{"code":-352,"message":"-352","ttl":1}


[EXCEPTION]
System.Text.Json.JsonException: JSON deserialization for type 'Ray.BiliBiliTool.Agent.BiliBiliAgent.Dtos.BiliApiResponse`1[Ray.BiliBiliTool.Agent.BiliBiliAgent.Dtos.Ranking]' was missing required properties, including the following: data
   at System.Text.Json.ThrowHelper.ThrowJsonException_JsonRequiredPropertyMissing(JsonTypeInfo parent, BitArray requiredPropertiesSet)
   at System.Text.Json.Serialization.Converters.ObjectDefaultConverter`1.OnTryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)
   at System.Text.Json.Serialization.JsonConverter`1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value, Boolean& isPopulatedValue)
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.ContinueDeserialize(ReadBufferState& bufferState, JsonReaderState& jsonReaderState, ReadStack& readStack)
   at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.DeserializeAsync(Stream utf8Json, CancellationToken cancellationToken)
   at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.DeserializeAsObjectAsync(Stream utf8Json, CancellationToken cancellationToken)
   at System.Net.Http.Json.HttpContentJsonExtensions.ReadFromJsonAsyncCore(HttpContent content, Type type, JsonSerializerOptions options, CancellationToken cancellationToken)
   at WebApiClientCore.ApiResponseContextExtensions.JsonDeserializeAsync(ApiResponseContext context, Type objType)
   at WebApiClientCore.Attributes.JsonReturnAttribute.SetResultAsync(ApiResponseContext context)
   at WebApiClientCore.Attributes.ApiReturnAttribute.OnResponseAsync(ApiResponseContext context)
   at WebApiClientCore.Implementations.ApiRequestExecutor.HandleResponseAsync(ApiResponseContext context)

[ELAPSED] 00:00:20.4077863
[12:45:58 ERR] 观看、分享视频失败,继续其他任务。失败信息:JSON deserialization for type 'Ray.BiliBiliTool.Agent.BiliBiliAgent.Dtos.BiliApiResponse`1[Ray.BiliBiliTool.Agent.BiliBiliAgent.Dtos.Ranking]' was missing required properties, including the following: data

Source: RayWangQvQ/BiliBiliToolPro