Skip to content

Commit

Permalink
fix #253
Browse files Browse the repository at this point in the history
  • Loading branch information
nilaoda committed Jan 27, 2022
1 parent 527ca37 commit 597279a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BBDown/BBDownFavListFetcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public async Task<BBDownVInfo> FetchAsync(string id)
{
api = $"https://api.bilibili.com/x/v3/fav/resource/list?media_id={favId}&pn={page}&ps={pageSize}&keyword=&order=mtime&type=0&tid=0&platform=web&jsonp=jsonp";
json = await GetWebSourceAsync(api);
using var jsonDoc = JsonDocument.Parse(json);
var jsonDoc = JsonDocument.Parse(json);
data = jsonDoc.RootElement.GetProperty("data");
medias.AddRange(data.GetProperty("medias").EnumerateArray().ToList());
}
Expand Down

0 comments on commit 597279a

Please sign in to comment.