mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Switch to TweetDetail for tweets
This commit is contained in:
parent
88b005c9da
commit
ae9fa02bf5
6 changed files with 31 additions and 21 deletions
|
|
@ -52,10 +52,11 @@ proc getPoolJson*(): JsonNode =
|
|||
maxReqs =
|
||||
case api
|
||||
of Api.search: 50
|
||||
of Api.tweetDetail: 150
|
||||
of Api.photoRail: 180
|
||||
of Api.userTweets, Api.userTweetsAndReplies, Api.userMedia,
|
||||
Api.userRestId, Api.userScreenName,
|
||||
Api.tweetResult, Api.tweetDetail,
|
||||
Api.tweetResult,
|
||||
Api.list, Api.listTweets, Api.listMembers, Api.listBySlug: 500
|
||||
of Api.userSearch: 900
|
||||
reqs = maxReqs - apiStatus.remaining
|
||||
|
|
|
|||
Loading…
Reference in a new issue