Skip to content

Commit

Permalink
- request param QType since lumina37/aiotieba#123 @ `(Thread|Reply)…
Browse files Browse the repository at this point in the history
…Crawler.GetRequestsForPage()`

@ c#/crawler
  • Loading branch information
n0099 committed May 19, 2023
1 parent 91e617a commit 63c92be
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions c#/crawler/src/Tieba/Crawl/Crawler/ReplyCrawler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ protected override async Task<IEnumerable<Request>> GetRequestsForPage(Page page
{ // reverse order will be {"last", "1"}, {"r", "1"}
Kz = (long)_tid,
Pn = (int)page,
Rn = 30,
QType = 2
Rn = 30
};
var response = await Requester.RequestProtoBuf(url, clientVersion,
new ReplyRequest {Data = data},
Expand Down
1 change: 0 additions & 1 deletion c#/crawler/src/Tieba/Crawl/Crawler/ThreadCrawler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ protected override Task<IEnumerable<Request>> GetRequestsForPage(Page page)
Pn = (int)page,
Rn = 90,
RnNeed = 30,
QType = 2,
SortType = 5
};
return Task.FromResult(new[]
Expand Down
2 changes: 1 addition & 1 deletion tbclient.protobuf

0 comments on commit 63c92be

Please sign in to comment.