Skip to content

Commit

Permalink
Merge pull request nilaoda#223 from bookyue/master
Browse files Browse the repository at this point in the history
decrease pageSize number to adapt changed API.
  • Loading branch information
nilaoda authored Dec 2, 2021
2 parents 18da93b + 6801226 commit abc1fa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BBDown/BBDownSpaceVideoFetcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public async Task<BBDownVInfo> FetchAsync(string id)
string userInfoApi = $"https://api.bilibili.com/x/space/acc/info?mid={id}&jsonp=jsonp";
string userName = GetValidFileName(JsonDocument.Parse(await GetWebSourceAsync(userInfoApi)).RootElement.GetProperty("data").GetProperty("name").ToString());
List<string> urls = new List<string>();
int pageSize = 100;
int pageSize = 50;
int pageNumber = 1;
string api = $"https://api.bilibili.com/x/space/arc/search?mid={id}&ps={pageSize}&tid=0&pn={pageNumber}&keyword=&order=pubdate&jsonp=jsonp";
string json = await GetWebSourceAsync(api);
Expand Down

0 comments on commit abc1fa9

Please sign in to comment.