mirror of
https://github.com/zedeus/nitter.git
synced 2026-01-28 14:22:48 -05:00
Set listMembers max remaining to 500
This commit is contained in:
@@ -37,7 +37,7 @@ proc getPoolJson*(): JsonNode =
|
||||
let
|
||||
maxReqs =
|
||||
case api
|
||||
of Api.listBySlug, Api.list, Api.userRestId: 500
|
||||
of Api.listMembers, Api.listBySlug, Api.list, Api.userRestId: 500
|
||||
of Api.timeline: 187
|
||||
else: 180
|
||||
reqs = maxReqs - token.apis[api].remaining
|
||||
|
||||
Reference in New Issue
Block a user