Skip to content

Commit

Permalink
修复未登录状况下无法解析支持Hi-Res音轨的视频的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
nilaoda committed Aug 11, 2022
1 parent 8f07002 commit 6ff0554
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion BBDown.Core/Parser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@ private static async Task<string> GetPlayJsonAsync(string aid, string cid, strin
{
if (hiRes.TryGetProperty("audio", out JsonElement db))
{
audio.Add(db);
if (db.ValueKind != JsonValueKind.Null)
audio.Add(db);
}
}
}
Expand Down

0 comments on commit 6ff0554

Please sign in to comment.