mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Revert "Replace tweet endpoint with GraphQL"
This reverts commit 19adc658c3.
This commit is contained in:
parent
19adc658c3
commit
36c72f9860
7 changed files with 67 additions and 111 deletions
|
|
@ -41,8 +41,7 @@ proc getPoolJson*(): JsonNode =
|
|||
let
|
||||
maxReqs =
|
||||
case api
|
||||
of Api.listMembers, Api.listBySlug, Api.list,
|
||||
Api.userRestId, Api.userScreenName, Api.tweetDetail: 500
|
||||
of Api.listMembers, Api.listBySlug, Api.list, Api.userRestId, Api.userScreenName: 500
|
||||
of Api.timeline: 187
|
||||
else: 180
|
||||
reqs = maxReqs - token.apis[api].remaining
|
||||
|
|
|
|||
Loading…
Reference in a new issue